Skip to content

Commit 1da3017

Browse files
committed
test(@angular/cli): update path mapping test to more closely approximate error condition
1 parent 547143b commit 1da3017

File tree

5 files changed

+2
-8
lines changed

5 files changed

+2
-8
lines changed

tests/legacy-cli/e2e/assets/webpack/test-app-path-mapping/src/app/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
import { Component, NgModule } from '@angular/core';
99
import { BrowserModule } from '@angular/platform-browser';
10-
import { Foo } from 'foo/foo';
10+
import { Foo } from 'foo/right';
1111

1212
console.log(Foo); // Make sure it's used.
1313

tests/legacy-cli/e2e/assets/webpack/test-app-path-mapping/src/foo/foo.js

-6
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"main": "right/foo.js"
2+
"title": "NOT_A_PACKAGE"
33
}

0 commit comments

Comments
 (0)