fixed tests and dependencies
This commit is contained in:
parent
8ecdb72b48
commit
f0a2dd0b65
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "webpack",
|
||||
"version": "0.9.0-beta1",
|
||||
"version": "0.9.0-beta2",
|
||||
"author": "Tobias Koppers @sokra",
|
||||
"description": "Packs CommonJs/AMD Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.",
|
||||
"dependencies": {
|
||||
|
@ -11,7 +11,8 @@
|
|||
"async": "0.1.x",
|
||||
"enhanced-resolve": "0.5.x",
|
||||
"clone": "0.1.x",
|
||||
"webpack-core": "0.1.x"
|
||||
"webpack-core": "0.1.x",
|
||||
"tapable": "0.1.x"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ var path = require("path");
|
|||
|
||||
var webpack = require("../lib/webpack");
|
||||
|
||||
describe("webpack", function() {
|
||||
describe("Integration", function() {
|
||||
it("should compile library1", function(done) {
|
||||
webpack({
|
||||
entry: "library1",
|
||||
|
@ -16,9 +16,8 @@ describe("webpack", function() {
|
|||
}
|
||||
}, function(err, stats) {
|
||||
if(err) throw err;
|
||||
stats.errors.should.be.eql([]);
|
||||
stats.warnings.should.be.eql([]);
|
||||
console.dir(stats);
|
||||
stats.hasErrors().should.be.not.ok;
|
||||
stats.hasWarnings().should.be.not.ok;
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
@ -56,9 +55,8 @@ describe("webpack", function() {
|
|||
}
|
||||
}, function(err, stats) {
|
||||
if(err) throw err;
|
||||
stats.errors.should.be.eql([]);
|
||||
stats.warnings.should.be.eql([]);
|
||||
console.dir(stats);
|
||||
stats.hasErrors().should.be.not.ok;
|
||||
stats.hasWarnings().should.be.not.ok;
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue