mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-15 10:44:50 -04:00
Fixed tests and brought test module naming in line with conventions.
This commit is contained in:
parent
9bd11dc7ad
commit
c75ebcf001
4 changed files with 6 additions and 15 deletions
16
Gruntfile.js
16
Gruntfile.js
|
@ -210,32 +210,20 @@ module.exports = function (grunt) {
|
|||
},
|
||||
tests: {
|
||||
target: "node",
|
||||
entry: ["babel-polyfill", "./test/TestRunner.js"],
|
||||
entry: "./test/index.js",
|
||||
output: {
|
||||
filename: "index.js",
|
||||
path: "build/test"
|
||||
},
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /prettify\.min\.js$/,
|
||||
use: "imports-loader?window=>global"
|
||||
}]
|
||||
}
|
||||
},
|
||||
node: {
|
||||
target: "node",
|
||||
entry: ["babel-polyfill", "./src/node/index.js"],
|
||||
entry: "./src/node/index.js",
|
||||
output: {
|
||||
filename: "CyberChef.js",
|
||||
path: "build/node",
|
||||
library: "CyberChef",
|
||||
libraryTarget: "commonjs2"
|
||||
},
|
||||
module: {
|
||||
loaders: [{
|
||||
test: /prettify\.min\.js$/,
|
||||
use: "imports-loader?window=>global"
|
||||
}]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue