Skip to content

Conversation

@mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Feb 3, 2022

Discovered this whilst updating the test in prework for #1282. Didn't really fit with any of the other PRs so pulled it out.

describe('ExperimentsData', () => {
it('should debounce all calls to update that are made within 200ms', async () => {
stub(Watcher, 'createFileSystemWatcher').resolves(mockWatcher)
stub(Watcher, 'createFileSystemWatcher').returns(mockWatcher)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[F] createFileSystemWatcher is sync. This was a rake in the grass.

@mattseddon mattseddon marked this pull request as ready for review February 3, 2022 04:43
@mattseddon mattseddon enabled auto-merge (squash) February 3, 2022 19:10
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit d600a23 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.2%.

View more on Code Climate.

@mattseddon mattseddon merged commit 05cf7c6 into master Feb 3, 2022
@mattseddon mattseddon deleted the fix-stub branch February 3, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants