test: index test should reset testdouble (#2723)

This commit is contained in:
Chris. Webster 2023-03-03 13:58:42 -08:00 committed by GitHub
parent ab3dfe4aba
commit 6ead75bf73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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