Remove browser test setup that we never used

This commit is contained in:
Jérémie Astori 2019-03-26 23:27:36 -04:00
parent e3dfedf8b5
commit c0708fd955
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8
3 changed files with 16 additions and 658 deletions

View File

@ -19,7 +19,6 @@
"lint:js": "eslint . --ext .js,.vue --report-unused-disable-directives --color",
"start": "node index start",
"test": "run-p --aggregate-output --continue-on-error lint:* test:{client,server}",
"test:browser": "webpack-dev-server --config=webpack.config-browser.js",
"test:client": "nyc --nycrc-path=test/.nycrc-mochapack mochapack --colors --opts=test/mochapack.opts",
"test:server": "nyc --nycrc-path=test/.nycrc-mocha mocha --colors",
"watch": "webpack --watch"
@ -94,7 +93,6 @@
"jquery": "3.3.1",
"mini-css-extract-plugin": "0.5.0",
"mocha": "6.0.2",
"mocha-loader": "2.0.1",
"mochapack": "1.1.0",
"moment": "2.24.0",
"mousetrap": "1.6.3",
@ -113,7 +111,6 @@
"vue-template-compiler": "2.6.10",
"vuedraggable": "2.20.0",
"webpack": "4.29.6",
"webpack-cli": "3.3.0",
"webpack-dev-server": "3.2.1"
"webpack-cli": "3.3.0"
}
}

View File

@ -1,22 +0,0 @@
"use strict";
const path = require("path");
const config = require("./webpack.config.js");
config.entry = {
"js/bundle.test.js": `mocha-loader!${path.join(__dirname, "test/client/index.js")}`,
};
// Instrumentation for testing with mocha
config.module.rules.push({
test: /\.js$/,
include: path.join(__dirname, "test/client/js/*"),
use: "mocha-loader",
});
// Tell the webserver where to load the HTML reporter file from
config.devServer = {
contentBase: path.join(__dirname, "test/client"),
};
module.exports = config;

647
yarn.lock

File diff suppressed because it is too large Load Diff