From 77ea3a950b505aef3e9f05a23e8fce2c290f7bfa Mon Sep 17 00:00:00 2001 From: Lars Trieloff Date: Thu, 11 Jan 2024 16:57:20 -0800 Subject: [PATCH] test(up): add mock for admin for cached test --- test/up-cmd.test.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/up-cmd.test.js b/test/up-cmd.test.js index b5689a145..82fa25872 100644 --- a/test/up-cmd.test.js +++ b/test/up-cmd.test.js @@ -364,6 +364,10 @@ describe('Integration test for up command with cache', function suite() { .get('/head.html') .reply(200, ''); + nock('https://admin.hlx.page:443') + .get('/sidekick/dummy-foo/adobe/master/config.json') + .reply(404); + nock.enableNetConnect(/127.0.0.1/); cmd