UNPKG

sync-client

Version:

Module which uses Dexie to save data and can later use a server to synchronize the data in the database with other devices

33 lines (29 loc) 743 B
'use strict'; const webpackConfig = require('./webpack.dev.config'); webpackConfig.entry = undefined; webpackConfig.output = undefined; module.exports = function (config) { config.set({ basePath: '.', frameworks: ['jasmine'], singleRun: true, captureConsole: true, plugins: [ 'karma-chrome-launcher', 'karma-jasmine', 'karma-webpack', 'karma-sourcemap-loader', ], browsers: ['Chrome'], files: ['src/**/*.js', 'test/unit/*.spec.js'], preprocessors: { 'src/**/*.js': ['webpack', 'sourcemap'], 'test/**/*.js': ['webpack', 'sourcemap'], }, webpack: webpackConfig, webpackMiddleware: { stats: 'errors-only', }, reporters: ['progress'], }); };