Skip to content
Prev Previous commit
Next Next commit
Update production build e2e test to expect 32 character content hash …
…in style bundle file name
  • Loading branch information
jimitndiaye committed Oct 18, 2016
commit 78f8610c7416181f612ee4c1edfd8c365272166b
2 changes: 1 addition & 1 deletion tests/e2e/tests/build/prod-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function() {
.then(() => expectFileToExist(join(process.cwd(), 'dist')))
// Check for cache busting hash script src
.then(() => expectFileToMatch('dist/index.html', /main\.[0-9a-f]{20}\.bundle\.js/))
.then(() => expectFileToMatch('dist/index.html', /styles\.[0-9a-f]{20}\.bundle\.css/))
.then(() => expectFileToMatch('dist/index.html', /styles\.[0-9a-f]{32}\.bundle\.css/))

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