Skip to content

Commit 734af52

Browse files
committed
tests are now running
1 parent 7d712e0 commit 734af52

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/karma-test-shim.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ System.config({
2020
map: {
2121
'rxjs': 'node:rxjs',
2222
'main': 'main.js',
23+
'moment': 'node:moment/min/moment.min.js',
2324

2425
// Angular specific mappings.
2526
'@angular/core': 'node:@angular/core/bundles/core.umd.js',

test/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = (config) => {
2626
{pattern: 'node_modules/zone.js/dist/fake-async-test.js', included: true, watched: false},
2727
{pattern: 'node_modules/hammerjs/hammer.min.js', included: true, watched: false},
2828
{pattern: 'node_modules/hammerjs/hammer.min.js.map', included: false, watched: false},
29-
{pattern: 'node_modules/moment/min/moment-with-locales.min.js', included: true, watched: false},
29+
{pattern: 'node_modules/moment/min/moment.min.js', included: true, watched: false},
3030

3131
// Include all Angular dependencies
3232
{pattern: 'node_modules/@angular/**/*', included: false, watched: false},

0 commit comments

Comments
 (0)