Skip to content

Commit cafd440

Browse files
committed
fix one unit test
1 parent 9177378 commit cafd440

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/pattern_assembler_tests.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,12 +333,17 @@
333333
var patterns_dir = './test/files/_patterns';
334334

335335
var pl = {};
336-
pl.config = {};
336+
pl.config = {
337+
paths: {
338+
source: {
339+
patterns: patterns_dir
340+
}
341+
}
342+
};
337343
pl.data = {};
338344
pl.data.link = {};
339345
pl.config.debug = false;
340346
pl.patterns = [];
341-
pl.config.patterns = { source: patterns_dir};
342347

343348
var atomPattern = new object_factory.oPattern('test/files/_patterns/00-test/03-styled-atom.mustache', '00-test', '03-styled-atom.mustache');
344349
atomPattern.template = fs.readFileSync(patterns_dir + '/00-test/03-styled-atom.mustache', 'utf8');

0 commit comments

Comments
 (0)