Skip to content

Commit

Permalink
fix karma test, use preact
Browse files Browse the repository at this point in the history
  • Loading branch information
FredericHeem committed Apr 14, 2018
1 parent 0871039 commit 310e01c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions client/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
/*eslint-env node */
const _ = require("lodash");
const webpack = require("webpack");
const path = require("path");
const webpackConfig = require("./webpack.dev");
webpackConfig.devtool = "cheap-module-source-map";

module.exports = function(config) {
webpackConfig.resolve.alias = _.omit(webpackConfig.resolve.alias, [
"react",
"react-dom",
"create-react-class"
]);

const configuration = {
browsers: ["Chrome"], // ['Chrome'] run in Chrome, 'PhantomJS'
singleRun: true,
Expand Down

0 comments on commit 310e01c

Please sign in to comment.