Skip to content

Commit

Permalink
test(up): add mock for admin for cached test
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Jan 12, 2024
1 parent 5615ee7 commit 77ea3a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/up-cmd.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ describe('Integration test for up command with cache', function suite() {
.get('/head.html')
.reply(200, '<link rel="stylesheet" href="/styles.css"/>');

nock('https://admin.hlx.page:443')
.get('/sidekick/dummy-foo/adobe/master/config.json')
.reply(404);

nock.enableNetConnect(/127.0.0.1/);

cmd
Expand Down

0 comments on commit 77ea3a9

Please sign in to comment.