Skip to content

Commit

Permalink
build: move to root
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Oct 26, 2019
1 parent 8e6ca17 commit 2963090
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/karma.conf.js → karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const puppeteer = require('puppeteer');
const rollupConfig = require('../rollup.config');
const rollupConfig = require('./rollup.config');

process.env.CHROME_BIN = puppeteer.executablePath();
process.env.NODE_ENV = 'test';

module.exports = (config) => {
config.set({
autoWatch: false,
basePath: '..',
browsers: ['ChromeHeadless'],
client: {
mocha: {
Expand Down Expand Up @@ -37,7 +37,7 @@ module.exports = (config) => {
plugins: rollupConfig.plugins,
output: {
format: 'iife',
name: rollupConfig.output[0].name,
name: 'Viewer',
sourcemap: 'inline',
},
},
Expand Down

0 comments on commit 2963090

Please sign in to comment.