From 076d599adfba8e6627f0bfe5c46c1ed66f114b2a Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Wed, 21 Dec 2022 19:26:45 -0600 Subject: [PATCH] test: Updating tests to account for entry edits --- packages/cli/tests/images/build.js | 8 ++++---- packages/cli/tests/service-worker.test.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli/tests/images/build.js b/packages/cli/tests/images/build.js index 02d4001fd..bf2e4267f 100644 --- a/packages/cli/tests/images/build.js +++ b/packages/cli/tests/images/build.js @@ -14,10 +14,10 @@ exports.default = { 'ssr-build/ssr-bundle.css': 2346, 'ssr-build/ssr-bundle.css.map': 3603, - 'bundle.0b505.js': 21563, - 'bundle.0b505.js.map': 86009, - 'bundle.0b505.legacy.js': 22586, - 'bundle.0b505.legacy.js.map': 107151, + 'bundle.263af.js': 21563, + 'bundle.263af.js.map': 86009, + 'bundle.263af.legacy.js': 22586, + 'bundle.263af.legacy.js.map': 107151, 'bundle.6329a.css': 1173, 'bundle.6329a.css.map': 2165, diff --git a/packages/cli/tests/service-worker.test.js b/packages/cli/tests/service-worker.test.js index c77d880a0..e69ba97c6 100644 --- a/packages/cli/tests/service-worker.test.js +++ b/packages/cli/tests/service-worker.test.js @@ -102,6 +102,6 @@ describe('service worker', () => { await page.$$eval('script[type=__PREACT_CLI_DATA__]', nodes => nodes.map(n => n.innerText) ) - ).toEqual(['%7B%22preRenderData%22:%7B%22url%22:%22/200.html%22%7D%7D']); + ).toEqual(['%7B%22prerenderData%22:%7B%22url%22:%22/200.html%22%7D%7D']); }); });