Skip to content

Commit 8746401

Browse files
committed
add correct expectation to deployUrl test
1 parent ff544fc commit 8746401

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/tests/build/deploy-url.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ export default function () {
2626
.then(() => expectFileToMatch('dist/index.html', 'config-deployUrl/main.bundle.js'))
2727
// verify --deploy-url is applied to non-extracted css urls
2828
.then(() => ng('build', '--deploy-url=deployUrl/', '--extract-css=false'))
29-
.then(() => expectFileToMatch('dist/styles.bundle.js', 'url\(deployUrl/more.svg\)'));
29+
.then(() => expectFileToMatch('dist/styles.bundle.js',
30+
'__webpack_require__.p \+ \"more.svg\"'));
3031
}

0 commit comments

Comments
 (0)