Skip to content

Commit

Permalink
test: disable checking for update in irl tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Dec 6, 2020
1 parent 28e00f7 commit 4fdb7bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/irl-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ const videos = {
};


process.env.YTDL_NO_UPDATE = 'true';
describe('Try using ytdl-core without mocking', () => {
afterEach(() => {
before(() => {
nock.cleanAll();
nock.enableNetConnect();
});
afterEach(() => {
ytdl.cache.sig.clear();
ytdl.cache.info.clear();
ytdl.cache.cookie.clear();
Expand Down

0 comments on commit 4fdb7bb

Please sign in to comment.