aboutsummaryrefslogtreecommitdiff
path: root/karma.conf.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-10-10 01:42:37 +0000
committerGitHub <noreply@github.com>2021-10-10 01:42:37 +0000
commitdfcefe1b84cc96ead1c8d8f9aa65ff05ccd70378 (patch)
tree12f1a4ed6da8fd96c034d23bcf08b1535bca1113 /karma.conf.js
parent24f4f06db6572d81cadfe191f36c433a79985871 (diff)
parent039095e18562c44edda2c5a83a3d82c2e220b370 (diff)
Merge pull request #1267 from ueokande/move-to-jest
Move to Jest
Diffstat (limited to 'karma.conf.js')
-rw-r--r--karma.conf.js42
1 files changed, 0 insertions, 42 deletions
diff --git a/karma.conf.js b/karma.conf.js
deleted file mode 100644
index 92f67ea..0000000
--- a/karma.conf.js
+++ /dev/null
@@ -1,42 +0,0 @@
-module.exports = function (config) {
-
- var webpackConfig = require('./webpack.config.js');
-
- config.set({
- basePath: '',
- frameworks: ['mocha', 'sinon'],
- files: [
- 'test/main.ts',
- 'test/**/*.test.ts',
- 'test/**/*.test.tsx',
- 'test/**/*.html'
- ],
-
- preprocessors: {
- 'test/main.ts': [ 'webpack', 'sourcemap' ],
- 'test/**/*.test.ts': [ 'webpack', 'sourcemap' ],
- 'test/**/*.test.tsx': [ 'webpack', 'sourcemap' ],
- 'test/**/*.html': ['html2js']
- },
-
- port: 9876,
- colors: true,
- logLevel: config.LOG_INFO,
- browsers: ['FirefoxHeadless'],
-
- singleRun: true,
-
- webpack: {
- mode: 'development',
- devtool: 'inline-source-map',
- resolve: webpackConfig.resolve,
- module: webpackConfig.module
- },
-
- webpackMiddleware: {
- noInfo: true
- },
-
- reporters: ['mocha']
- })
-}