We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9259b84 commit 59a503eCopy full SHA for 59a503e
lib/__tests__/dist.test.ts
@@ -23,4 +23,8 @@ describe.concurrent("Test plugin with default options in example build with tsup
23
const text = fs.readFileSync(path.resolve(exampleBuildDir, "client", "index.js"), "utf-8");
24
expect(/data-testid/.test(text)).toBe(false);
25
});
26
+
27
+ test('should not contain .snap files', ({expect}) => {
28
+ expect(fs.existsSync(path.resolve(exampleBuildDir, "client", "header", '__snapshots__'))).toBe(false);
29
+ })
30
0 commit comments