Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed Dec 2, 2023
1 parent 31731ca commit 6618cf2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/audits/cwv.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ describe('Index Tests', () => {
};
});

afterEach(() => {
nock.cleanAll();
sinon.restore();
});

it('fetch cwv for base url > process > send results', async () => {
nock('https://adobe.com')
.get('/')
Expand Down Expand Up @@ -96,7 +101,7 @@ describe('Index Tests', () => {
});

it('getRUMUrl adds scheme to urls without a scheme', async () => {
nock('http://space.cat')
nock('https://space.cat')
.get('/')
.reply(200);

Expand Down

0 comments on commit 6618cf2

Please sign in to comment.