Skip to content

Commit

Permalink
test: index test should reset testdouble (#2723)
Browse files Browse the repository at this point in the history
  • Loading branch information
webstech committed Mar 3, 2023
1 parent ab3dfe4 commit 6ead75b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/index.test.js
Expand Up @@ -39,7 +39,11 @@ test.beforeEach((t) => {
};
});

test("Plugins are called with expected values", async (t) => {
test.afterEach.always((t) => {
td.reset();
});

test.serial("Plugins are called with expected values", async (t) => {
// Create a git repository, set the current working directory at the root of the repo
const { cwd, repositoryUrl } = await gitRepo(true);
// Add commits to the master branch
Expand Down

0 comments on commit 6ead75b

Please sign in to comment.