Skip to content

Commit

Permalink
chore: disable global setup for now
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Feb 21, 2024
1 parent a7beba1 commit 41a621d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions test/_setup.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// import { automd } from "../src";
import { automd } from "../src";

// console.log("Starting automd with watcher on repo...");
// const { unwatch } = await automd({
// watch: true,
// });
console.log("Starting automd with watcher on repo...");
const { unwatch } = await automd({
watch: true,
});

export const seup = async () => {};

export const teardown = async () => {
// await unwatch?.();
await unwatch?.();
};
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
globalSetup: "./test/_setup.ts",
// globalSetup: "./test/_setup.ts",
},
});

0 comments on commit 41a621d

Please sign in to comment.