Skip to content

Commit 3e9e45e

Browse files
author
Walker Leite
committed
fix(tests): add vuefy compiler to karma
1 parent 92c2550 commit 3e9e45e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

template/test/karma.conf.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
import babelify from 'babelify';
22
import vueify from 'vueify';
3+
import { dirs } from '../gulp-tasks/config';
4+
import { customSass } from '../gulp-tasks/compilers.js';
35

46
export default (config) => {
7+
vueify.compiler.applyConfig({
8+
sass: {
9+
includePaths: [
10+
dirs.modules,
11+
],
12+
},
13+
customCompilers: {
14+
scss: customSass,
15+
},
16+
});
17+
518
config.set({
619
browsers: ['Chrome'],
720
frameworks: ['browserify', 'mocha', 'chai'],

0 commit comments

Comments
 (0)