Commit 6d4ca494 authored by NzSN's avatar NzSN

remove browserify

parent 0f6e6879
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
let webpackConfig = require('./webpack.tdd.conf.js'); let webpackConfig = require('./webpack.tdd.conf.js');
const path = require('path'); const path = require('path');
const browserify = require('browserify');
module.exports = function(config) { module.exports = function(config) {
config.set({ config.set({
...@@ -13,7 +12,7 @@ module.exports = function(config) { ...@@ -13,7 +12,7 @@ module.exports = function(config) {
// frameworks to use // frameworks to use
// available frameworks: https://www.npmjs.com/search?q=keywords:karma-adapter // available frameworks: https://www.npmjs.com/search?q=keywords:karma-adapter
frameworks: [ 'jasmine', 'webpack', 'browserify' ], frameworks: [ 'jasmine', 'webpack' ],
// list of files / patterns to load in the browser // list of files / patterns to load in the browser
...@@ -36,20 +35,6 @@ module.exports = function(config) { ...@@ -36,20 +35,6 @@ module.exports = function(config) {
// available preprocessors: https://www.npmjs.com/search?q=keywords:karma-preprocessor // available preprocessors: https://www.npmjs.com/search?q=keywords:karma-preprocessor
preprocessors: { preprocessors: {
'./tests/specs.js': ['webpack'], './tests/specs.js': ['webpack'],
//'src/**/*.js': ['browserify'],
},
browserify: {
debug: true,
transform: [
[
'babelify', {
"presets": [
"@babel/preset-env"
]
}
]
]
}, },
webpack: webpackConfig, webpack: webpackConfig,
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
"jasmine-browser-runner": "^1.0.0", "jasmine-browser-runner": "^1.0.0",
"jasmine-core": "^4.1.0", "jasmine-core": "^4.1.0",
"karma": "^6.3.18", "karma": "^6.3.18",
"karma-browserify": "^8.1.0",
"karma-chrome-launcher": "^3.1.1", "karma-chrome-launcher": "^3.1.1",
"karma-firefox-launcher": "^2.1.2", "karma-firefox-launcher": "^2.1.2",
"karma-jasmine": "^5.0.0", "karma-jasmine": "^5.0.0",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment