Skip to content

Commit 78f8610

Browse files
committed
Update production build e2e test to expect 32 character content hash in style bundle file name
1 parent ec26e19 commit 78f8610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e/tests/build/prod-build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function() {
3434
.then(() => expectFileToExist(join(process.cwd(), 'dist')))
3535
// Check for cache busting hash script src
3636
.then(() => expectFileToMatch('dist/index.html', /main\.[0-9a-f]{20}\.bundle\.js/))
37-
.then(() => expectFileToMatch('dist/index.html', /styles\.[0-9a-f]{20}\.bundle\.css/))
37+
.then(() => expectFileToMatch('dist/index.html', /styles\.[0-9a-f]{32}\.bundle\.css/))
3838

3939
// Check that the process didn't change local files.
4040
.then(() => expectGitToBeClean())

0 commit comments

Comments
 (0)