initial commit
This commit is contained in:
50
node_modules/i18next/karma.backward.conf.js
generated
vendored
Normal file
50
node_modules/i18next/karma.backward.conf.js
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
module.exports = function(karma) {
|
||||
karma.set({
|
||||
frameworks: ['mocha', 'expect', 'sinon', 'browserify'],
|
||||
|
||||
files: [
|
||||
//'vendor/external.js',
|
||||
'test/backward/**/*.compat.js',
|
||||
{ pattern: 'test/backward/locales/**/*.json', watched: true, included: false, served: true },
|
||||
],
|
||||
|
||||
proxies: {
|
||||
'/locales': 'http://localhost:9877/base/test/backward/locales',
|
||||
},
|
||||
|
||||
reporters: ['spec'],
|
||||
|
||||
preprocessors: {
|
||||
'test/backward/**/*.compat.js': ['browserify'],
|
||||
'test/backward/compatibility/**/*.js': ['browserify'],
|
||||
},
|
||||
|
||||
browsers: ['HeadlessChrome'],
|
||||
customLaunchers: {
|
||||
HeadlessChrome: {
|
||||
base: 'ChromeHeadless',
|
||||
flags: ['—no-sandbox'],
|
||||
},
|
||||
},
|
||||
|
||||
port: 9877,
|
||||
|
||||
//logLevel: 'LOG_DEBUG',
|
||||
|
||||
//singleRun: true,
|
||||
//autoWatch: false,
|
||||
//
|
||||
// client: {
|
||||
// mocha: {
|
||||
// reporter: 'spec', // change Karma's debug.html to the mocha web reporter
|
||||
// ui: 'tdd'
|
||||
// }
|
||||
// },
|
||||
|
||||
// browserify configuration
|
||||
browserify: {
|
||||
debug: true,
|
||||
transform: [['babelify', { presets: ['@babel/preset-env'] }] /*, 'brfs' */],
|
||||
},
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user