Skip to content

Commit

Permalink
Fix Windows snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
machty committed Jun 23, 2024
1 parent fcc2294 commit 9c1886f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test-packages/test-utils/src/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ export class Project {
volarEmbeddedContentUri.toString(),
`volar-embedded-content://URI_ENCODED_PATH_TO/FILE`,
)
.replaceAll(this.filePath('.'), '/path/to/EPHEMERAL_TEST_PROJECT')
.replaceAll(`"${this.filePath('.')}`, '"/path/to/EPHEMERAL_TEST_PROJECT')
.replaceAll(`"${this.fileURI('.')}`, '"file:///path/to/EPHEMERAL_TEST_PROJECT')
.replaceAll(fileUriToTemplatePackage, 'file:///PATH_TO_MODULE/@glint/template');

return JSON.parse(normalized);
Expand Down

0 comments on commit 9c1886f

Please sign in to comment.