mirror of https://github.com/webpack/webpack.git
Fix test after rebase
This commit is contained in:
parent
3e0baf8303
commit
1a7fff843d
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
require("should");
|
require("should");
|
||||||
const Stats = require("../lib/Stats");
|
const Stats = require("../lib/Stats");
|
||||||
const packageJson = require("../package.json")
|
const packageJson = require("../package.json");
|
||||||
|
|
||||||
describe("Stats", () => {
|
describe("Stats", () => {
|
||||||
describe("Error Handling", () => {
|
describe("Error Handling", () => {
|
||||||
|
|
@ -113,7 +113,7 @@ describe("Stats", () => {
|
||||||
errors: [],
|
errors: [],
|
||||||
warnings: [],
|
warnings: [],
|
||||||
assets: [],
|
assets: [],
|
||||||
entrypoints: {},
|
entrypoints: new Map(),
|
||||||
chunks: [],
|
chunks: [],
|
||||||
modules: [],
|
modules: [],
|
||||||
children: [],
|
children: [],
|
||||||
|
|
@ -123,6 +123,9 @@ describe("Stats", () => {
|
||||||
path: "/"
|
path: "/"
|
||||||
},
|
},
|
||||||
getPublicPath: () => "path"
|
getPublicPath: () => "path"
|
||||||
|
},
|
||||||
|
compiler: {
|
||||||
|
context: ""
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const result = mockStats.toJson();
|
const result = mockStats.toJson();
|
||||||
|
|
@ -132,9 +135,9 @@ describe("Stats", () => {
|
||||||
children: [],
|
children: [],
|
||||||
chunks: [],
|
chunks: [],
|
||||||
entrypoints: {},
|
entrypoints: {},
|
||||||
errors: [],
|
|
||||||
filteredAssets: 0,
|
filteredAssets: 0,
|
||||||
filteredModules: 0,
|
filteredModules: 0,
|
||||||
|
errors: [],
|
||||||
hash: "1234",
|
hash: "1234",
|
||||||
modules: [],
|
modules: [],
|
||||||
outputPath: "/",
|
outputPath: "/",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue