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

Commit 28363ab

Browse files
committed
test: Add nested order by id test
1 parent 2c2f12b commit 28363ab

File tree

8 files changed

+51
-0
lines changed

8 files changed

+51
-0
lines changed

test/__snapshots__/webpack-integration.test.js.snap

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3+
exports[`Webpack Integration Tests chunk-modules-nested-ordered-by-id 1`] = `
4+
"body {
5+
margin: 0;
6+
padding: 0;
7+
font-family: sans-serif;
8+
}
9+
.block {
10+
color: tomato;
11+
}
12+
.App {
13+
color: black;
14+
}
15+
"
16+
`;
17+
318
exports[`Webpack Integration Tests chunk-modules-ordered-by-id 1`] = `
419
".block {
520
color: tomato;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require('./b.txt');
2+
require('./a.txt');
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.App {
2+
color: black;
3+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.block {
2+
color: tomato;
3+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
body {
2+
margin: 0;
3+
padding: 0;
4+
font-family: sans-serif;
5+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
body {
2+
margin: 0;
3+
padding: 0;
4+
font-family: sans-serif;
5+
}
6+
.block {
7+
color: tomato;
8+
}
9+
.App {
10+
color: black;
11+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require('./c.txt');
2+
require('./a.js');
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import ExtractTextPlugin from '../../../src/index';
2+
3+
module.exports = {
4+
entry: './index',
5+
plugins: [
6+
new ExtractTextPlugin({
7+
filename: 'file.css',
8+
}),
9+
],
10+
};

0 commit comments

Comments
 (0)