Skip to content

Commit 3af0948

Browse files
committed
fix(tests): remove snapshot for static compilation
1 parent d195774 commit 3af0948

File tree

28 files changed

+0
-29
lines changed

28 files changed

+0
-29
lines changed

test/binCases/config-name/found-many/found-many.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ test("found-many", () => {
2525
expect(summary).toContain("./index2.js");
2626
expect(summary).toContain("./index3.js");
2727
expect(stderr).toHaveLength(0);
28-
expect(summary).toMatchSnapshot();
2928
});

test/binCases/config-name/found-one/found-one.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ test("found-one", () => {
2222
expect(summary).toEqual(expect.anything());
2323
expect(summary).toContain("./index2.js");
2424
expect(stderr).toHaveLength(0);
25-
expect(summary).toMatchSnapshot();
2625
});

test/binCases/config-name/not-found/not-found.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ test("not-found", () => {
1010
expect(code).not.toBe(0);
1111
expect(summary).toHaveLength(0);
1212
expect(stderr).toContain("Configuration with name 'foo' was not found.");
13-
expect(summary).toMatchSnapshot();
1413
});

test/binCases/config-type/array/array.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ test("array", () => {
2121
expect(summary).toContain("Child");
2222
expect(summary).toContain("entry-b.bundle.js");
2323
expect(stderr).toHaveLength(0);
24-
expect(summary).toMatchSnapshot();
2524
});

test/binCases/config-type/function-promise/function-promise.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ test("function-promise", () => {
1818
expect(summary).toEqual(expect.anything());
1919
expect(summary).toContain("entry.bundle.js");
2020
expect(stderr).toHaveLength(0);
21-
expect(summary).toMatchSnapshot();
2221
});

test/binCases/config-type/function/function.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ test("function", () => {
1818
expect(summary).toEqual(expect.anything());
1919
expect(summary).toContain("entry.bundle.js");
2020
expect(stderr).toHaveLength(0);
21-
expect(summary).toMatchSnapshot();
2221
});

test/binCases/config-type/object/object.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ test("object", () => {
1818
expect(summary).toEqual(expect.anything());
1919
expect(summary).toContain("entry.bundle.js");
2020
expect(stderr).toHaveLength(0);
21-
expect(summary).toMatchSnapshot();
2221
});

test/binCases/config-type/promise/promise.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,4 @@ test("promise", () => {
1818
expect(summary).toEqual(expect.anything());
1919
expect(summary).toContain("entry.bundle.js");
2020
expect(stderr).toHaveLength(0);
21-
expect(summary).toMatchSnapshot();
2221
});

test/binCases/configFile/plugins-precedence/plugins-precedence.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ test("plugins-precedence", () => {
2424
expect(summary).toEqual(expect.anything());
2525
expect(summary).toContain("ok.js");
2626
expect(stderr).toHaveLength(0);
27-
expect(summary).toMatchSnapshot();
2827
});

test/binCases/entry/cli-override/cli-override.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ test("cli-override", () => {
2121
expect(summary).toContain("cliEntry.js");
2222
expect(summary).toContain("index.js");
2323
expect(stderr).toHaveLength(0);
24-
expect(summary).toMatchSnapshot();
2524
});

0 commit comments

Comments
 (0)