From 6ead75bf73b99cb075ae77f7404e1367567e6ec2 Mon Sep 17 00:00:00 2001 From: "Chris. Webster" Date: Fri, 3 Mar 2023 13:58:42 -0800 Subject: [PATCH] test: index test should reset `testdouble` (#2723) --- test/index.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/index.test.js b/test/index.test.js index e2cf60ab..a06caf57 100644 --- a/test/index.test.js +++ b/test/index.test.js @@ -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