Skip to content

Commit 6ead75b

Browse files
authoredMar 3, 2023
test: index test should reset testdouble (#2723)
1 parent ab3dfe4 commit 6ead75b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎test/index.test.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ test.beforeEach((t) => {
3939
};
4040
});
4141

42-
test("Plugins are called with expected values", async (t) => {
42+
test.afterEach.always((t) => {
43+
td.reset();
44+
});
45+
46+
test.serial("Plugins are called with expected values", async (t) => {
4347
// Create a git repository, set the current working directory at the root of the repo
4448
const { cwd, repositoryUrl } = await gitRepo(true);
4549
// Add commits to the master branch

0 commit comments

Comments
 (0)
Please sign in to comment.