mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 22:09:57 +02:00
Simplify karma config
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
// Karma configuration
|
|
||||||
// Generated on Mon Nov 03 2014 07:53:38 GMT+0100 (CET)
|
|
||||||
|
|
||||||
import { jsConfig } from './webpack.config.base'
|
import { jsConfig } from './webpack.config.base'
|
||||||
|
|
||||||
const webpackConfig = jsConfig()
|
const webpackConfig = jsConfig()
|
||||||
@@ -17,13 +14,7 @@ export default function (config) {
|
|||||||
|
|
||||||
// list of files / patterns to load in the browser
|
// list of files / patterns to load in the browser
|
||||||
files: [
|
files: [
|
||||||
'./src/*.spec.js',
|
'./src/**/*.spec.js'
|
||||||
'./src/diagrams/flowchart/**/*.spec.js',
|
|
||||||
'./src/diagrams/example/**/*.spec.js',
|
|
||||||
'./src/diagrams/sequenceDiagram/**/*.spec.js',
|
|
||||||
'./src/diagrams/classDiagram/**/*.spec.js',
|
|
||||||
'./src/diagrams/gantt/**/*.spec.js',
|
|
||||||
'./src/diagrams/gitGraph/**/*.spec.js'
|
|
||||||
],
|
],
|
||||||
|
|
||||||
preprocessors: {
|
preprocessors: {
|
||||||
@@ -70,11 +61,7 @@ export default function (config) {
|
|||||||
// start these browsers
|
// start these browsers
|
||||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||||
browsers: ['ChromeHeadless'],
|
browsers: ['ChromeHeadless'],
|
||||||
plugins: [
|
|
||||||
'karma-jasmine',
|
|
||||||
'karma-chrome-launcher',
|
|
||||||
'karma-webpack'
|
|
||||||
],
|
|
||||||
// Continuous Integration mode
|
// Continuous Integration mode
|
||||||
// if true, Karma captures browsers, runs the tests and exits
|
// if true, Karma captures browsers, runs the tests and exits
|
||||||
singleRun: false
|
singleRun: false
|
||||||
|
1
todo.md
1
todo.md
@@ -14,7 +14,6 @@
|
|||||||
- https://github.com/lodash/babel-plugin-lodash
|
- https://github.com/lodash/babel-plugin-lodash
|
||||||
- https://www.npmjs.com/package/lodash-webpack-plugin
|
- https://www.npmjs.com/package/lodash-webpack-plugin
|
||||||
- Replace var with const/let
|
- Replace var with const/let
|
||||||
- Replace karma-webpack with karma-babel
|
|
||||||
- Stops working for mermaid-live-editor since 7.0.9
|
- Stops working for mermaid-live-editor since 7.0.9
|
||||||
- global.mermaid_config
|
- global.mermaid_config
|
||||||
- rewrite logger
|
- rewrite logger
|
||||||
|
Reference in New Issue
Block a user