Skip to content

Commit

Permalink
Update devDeps to use most recent versions, and fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
loganfsmyth committed Sep 15, 2018
1 parent 3e5fb5e commit eeaee46
Show file tree
Hide file tree
Showing 3 changed files with 693 additions and 398 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -20,9 +20,9 @@
"webpack": ">=2"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.41",
"@babel/core": "^7.0.0-beta.41",
"@babel/preset-env": "^7.0.0-beta.41",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"ava": "0.25.0",
"babel-eslint": "^8.0.0",
"babel-plugin-istanbul": "^4.0.0",
Expand Down
22 changes: 17 additions & 5 deletions test/sourcemaps.test.js
Expand Up @@ -83,8 +83,12 @@ test.cb("should output webpack's sourcemap properly when set 'inline'", t => {
rules: [
{
test: /\.jsx?/,
loader: babelLoader + "?presets[]=@babel/env&sourceMap=inline",
loader: babelLoader,
exclude: /node_modules/,
options: {
sourceMap: "inline",
presets: [["@babel/env", { modules: "commonjs" }]],
},
},
],
},
Expand Down Expand Up @@ -169,7 +173,7 @@ test.cb("should output webpack's devtoolModuleFilename option", t => {
});
});

test.only.cb("should disable sourcemap output with 'sourceMaps:true'", t => {
test.only.cb("should disable sourcemap output with 'sourceMaps:false'", t => {
const config = Object.assign({}, globalConfig, {
devtool: "source-map",
output: {
Expand All @@ -179,8 +183,12 @@ test.only.cb("should disable sourcemap output with 'sourceMaps:true'", t => {
rules: [
{
test: /\.jsx?/,
loader: babelLoader + "?presets[]=@babel/env&sourceMaps=false",
loader: babelLoader,
exclude: /node_modules/,
options: {
sourceMaps: false,
presets: [["@babel/env", { modules: "commonjs" }]],
},
},
],
},
Expand Down Expand Up @@ -216,7 +224,7 @@ test.only.cb("should disable sourcemap output with 'sourceMaps:true'", t => {
});
});

test.only.cb("should disable sourcemap output with 'sourceMap:true'", t => {
test.only.cb("should disable sourcemap output with 'sourceMap:false'", t => {
const config = Object.assign({}, globalConfig, {
devtool: "source-map",
output: {
Expand All @@ -226,8 +234,12 @@ test.only.cb("should disable sourcemap output with 'sourceMap:true'", t => {
rules: [
{
test: /\.jsx?/,
loader: babelLoader + "?presets[]=@babel/env&sourceMap=false",
loader: babelLoader,
exclude: /node_modules/,
options: {
sourceMap: false,
presets: [["@babel/env", { modules: "commonjs" }]],
},
},
],
},
Expand Down

0 comments on commit eeaee46

Please sign in to comment.