Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit e66c564

Browse files
committed
test(config): fix config test to support change from 'componentsDir' to 'directivesDir'
fix config test to support change from 'componentsDir' to 'directivesDir'
1 parent 8e7968a commit e66c564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/config.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('config', () => {
7676
expect(context.buildDir).toEqual(join(process.cwd(), Constants.WWW_DIR, Constants.BUILD_DIR));
7777
expect(context.pagesDir).toEqual(join(context.srcDir, 'pages'));
7878
expect(context.componentsDir).toEqual(join(context.srcDir, 'components'));
79-
expect(context.directivesDir).toEqual(join(context.srcDir, 'components'));
79+
expect(context.directivesDir).toEqual(join(context.srcDir, 'directives'));
8080
expect(context.pipesDir).toEqual(join(context.srcDir, 'pipes'));
8181
expect(context.providersDir).toEqual(join(context.srcDir, 'providers'));
8282
expect(context.nodeModulesDir).toEqual(join(process.cwd(), Constants.NODE_MODULES));

0 commit comments

Comments
 (0)