Tapico / tapico-msw-webarchive

An utility to drive requests handlers through a `.har` web-archive file
MIT License
99 stars 8 forks source link

feat: Add responseDelay option #60

Closed ctuckz closed 3 months ago

ctuckz commented 3 months ago

Resolves https://github.com/Tapico/tapico-msw-webarchive/issues/51

Adds a responseDelay option to control how mock responses are delayed. Supports real to use the time property from the HAR, none to never delay, and a function to customize the delay behavior.

Defaults to real to avoid changing existing behavior