Skip to content

Commit 2f29b4b

Browse files
committed
Let's have an assertion in 'ignores files in .gitignore' test
1 parent ad14a45 commit 2f29b4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

watch/test/watch.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ describe("watch", () => {
4848
});
4949

5050
it("ignores files in .gitignore", function* () {
51+
expect.assertions(1);
5152
let fixture = yield* useFixture();
5253

5354
let processes = yield* inspector(
@@ -64,6 +65,8 @@ describe("watch", () => {
6465
yield* fixture.write("dist/artifact.txt", "this file was built again");
6566

6667
yield* processes.expectNoRestart();
68+
69+
expect(processes.starts).toHaveLength(1);
6770
});
6871

6972
it.skip("ignores files in a .gitignore that is in a parent directory", function* () {

0 commit comments

Comments
 (0)