-
-
Notifications
You must be signed in to change notification settings - Fork 287
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Please provide the environment you discovered this bug in.
Windows 11 24H2
Which area/package is the issue in?
vite-plugin-angular
Description
On Windows generated paths are ./app.component.css|C:/path/to/src/app.component.css
rather than ./app.component.css|/path/to/src/app.component.css
, causing tests to fail.
Please provide the exception or error you saw
A bunch of these:
FAIL src/lib/component-resolvers.spec.ts > component-resolvers > component-resolvers templateUrl > matcher > should handle templateUrls with double quotes and route params
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ src/lib/component-resolvers.spec.ts:283:69
281| const resolvedTemplateUrls = templateUrlsResolver.resolve(code…
282|
283| expect(thePathsAreEqual(resolvedTemplateUrls, [actualUrl])).to…
| ^
284| });
285|
❯ new ZoneAwarePromise ../../node_modules/.pnpm/zone.js@0.15.0/node_modules/zone.js/fesm2015/zone.js:2702:25
Other information
I already have a PR ready.
I would be willing to submit a PR to fix this issue
- Yes
- No
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working