UNPKG

@oveasoft/planning

Version:

An AngularJS planning component

39 lines (33 loc) 909 B
// reuse webpack config const webpack = require("./webpack.config"); module.exports = config => { config.set({ basePath: "", frameworks: ["jasmine"], // This will be the new entry to webpack // so it should just be a single file files: ["demo/index.tests.js"], // Preprocess test index and test files using // webpack (will run babel) preprocessors: { "src/index.tests.js": ["webpack"], "src/**/*.test.js": ["webpack"] }, // Reference webpack config (single object) // and configure some middleware settings webpack, webpackMiddleware: { noInfo: true, stats: "errors-only" }, // Typical Karma settings, see docs reporters: ["progress"], port: 9876, colors: true, logLevel: config.LOG_INFO, autoWatch: true, browsers: ["ChromeHeadless"], singleRun: false, concurrency: Infinity }); };