Commit 4b8b90d5 authored by Tim Neutkens's avatar Tim Neutkens

Fix test follow new buildManifest signature

parent 86ad1afb
......@@ -182,7 +182,7 @@ export default function ({ app }, suiteName, render, fetch, appPort) {
resources.push('/_next/' + reactLoadableManifest['../../components/hello1'][0].publicPath)
// test main.js runtime etc
for (const item of buildManifest.pages['/dynamic/ssr']) {
for (const item of buildManifest.assets) {
resources.push('/_next/' + item)
}
......
......@@ -90,7 +90,7 @@ describe('Production Usage', () => {
resources.push(url + reactLoadableManifest['../../components/hello1'][0].publicPath)
// test main.js runtime etc
for (const item of buildManifest.pages['/']) {
for (const item of buildManifest.assets) {
resources.push(url + item)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment