diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-06-08 14:57:56 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-07-03 10:53:20 -0300 |
| commit | e2ab0eba4f7098eecb77a3494010f39b9d015a67 (patch) | |
| tree | b1aa5536ab1b8f51f597c38eec3730802a3da0cb /package.json | |
| parent | 88f9f4ced3c3245c0c0f3a1d10f87bb05b8ecd1b (diff) | |
| download | mullvadvpn-e2ab0eba4f7098eecb77a3494010f39b9d015a67.tar.xz mullvadvpn-e2ab0eba4f7098eecb77a3494010f39b9d015a67.zip | |
Refactor file notification monitoring in tests
Create a `PathWatcher` helper type that presents itself as an `Iterator`
over events on a specified path. It also allows setting a timeout for
waiting for each event, so that it doesn't block indefinately.
Although it watches a specific path, in reality it watches the path's
parent directory, so that it can continue watching the file if it gets
removed and recreated.
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions
