Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

Commit 56a1095

Browse files
committed
test: Update test naming & snapshot
1 parent 3bfe9d2 commit 56a1095

File tree

4 files changed

+129
-129
lines changed

4 files changed

+129
-129
lines changed

test/__snapshots__/TestCases.test.js.snap

Lines changed: 0 additions & 127 deletions
This file was deleted.
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`Webpack Integration Tests common-async 1`] = `
4+
"a
5+
b
6+
c
7+
"
8+
`;
9+
10+
exports[`Webpack Integration Tests merging-chunk 1`] = `
11+
"a
12+
b
13+
c
14+
"
15+
`;
16+
17+
exports[`Webpack Integration Tests merging-multiple-entries 1`] = `
18+
"a
19+
b
20+
"
21+
`;
22+
23+
exports[`Webpack Integration Tests merging-multiple-entries 2`] = `
24+
"a
25+
c
26+
"
27+
`;
28+
29+
exports[`Webpack Integration Tests merging-multiple-entries-shared 1`] = `
30+
"a
31+
"
32+
`;
33+
34+
exports[`Webpack Integration Tests merging-multiple-entries-shared 2`] = `
35+
"a
36+
"
37+
`;
38+
39+
exports[`Webpack Integration Tests multiple-entries 1`] = `
40+
"a
41+
b
42+
"
43+
`;
44+
45+
exports[`Webpack Integration Tests multiple-entries 2`] = `
46+
"a
47+
c
48+
"
49+
`;
50+
51+
exports[`Webpack Integration Tests multiple-entries-filename 1`] = `
52+
"a
53+
b
54+
"
55+
`;
56+
57+
exports[`Webpack Integration Tests multiple-entries-filename 2`] = `
58+
"a
59+
c
60+
"
61+
`;
62+
63+
exports[`Webpack Integration Tests multiple-entries-filename 3`] = `""`;
64+
65+
exports[`Webpack Integration Tests nested 1`] = `
66+
"a
67+
b
68+
c
69+
d
70+
"
71+
`;
72+
73+
exports[`Webpack Integration Tests optimize-tree 1`] = `
74+
"index
75+
a
76+
b
77+
"
78+
`;
79+
80+
exports[`Webpack Integration Tests order-undefined-error 1`] = `
81+
"._3QiTkN7JPds2C9Bq73MpOX {
82+
}
83+
._3dtwYD12yqGZUJ-uPQLu9z {
84+
}
85+
._32HVXkGocfWZMaHoXEFkED {
86+
}
87+
.hbZI7DlQBB9VYNCgL20kL {
88+
}
89+
"
90+
`;
91+
92+
exports[`Webpack Integration Tests simple 1`] = `
93+
"a
94+
b
95+
"
96+
`;
97+
98+
exports[`Webpack Integration Tests simple-query-object 1`] = `
99+
"body {
100+
correct: a;
101+
}
102+
body {
103+
correct: b;
104+
}
105+
106+
/*# sourceMappingURL=file.css.map*/"
107+
`;
108+
109+
exports[`Webpack Integration Tests simple-queryless-object 1`] = `
110+
"body {
111+
correct: a;
112+
}
113+
body {
114+
correct: b;
115+
}
116+
117+
/*# sourceMappingURL=file.css.map*/"
118+
`;
119+
120+
exports[`Webpack Integration Tests splitted-chunk 1`] = `
121+
"a
122+
"
123+
`;
124+
125+
exports[`Webpack Integration Tests splitted-multiple-entries 1`] = `""`;
126+
127+
exports[`Webpack Integration Tests splitted-multiple-entries 2`] = `""`;

test/extract.test.js renamed to test/extract-text-plugin.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ExtractTextPlugin from '../src';
33

44
const loader = require.resolve('../src/loader');
55

6-
describe('ExtractTextPlugin.extract()', () => {
6+
describe('ExtractTextPlugin', () => {
77
it('throws if given multiple arguments', () => {
88
expect(() => {
99
ExtractTextPlugin.extract('style-loader', 'css-loader');

test/TestCases.test.js renamed to test/webpack-integration.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import ExtractTextPlugin from '../src';
77

88
var cases = process.env.CASES ? process.env.CASES.split(",") : fs.readdirSync(path.join(__dirname, "cases"));
99

10-
describe("TestCases", function() {
10+
describe("Webpack Integration Tests", function() {
1111
cases.forEach(function(testCase) {
1212
it(testCase, function(done) {
1313
var testDirectory = path.join(__dirname, "cases", testCase);

0 commit comments

Comments
 (0)