Skip to content
Snippets Groups Projects
Unverified Commit a429618e authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

chore: try delay for changelog cache test (#2608)

parent ff2e40bd
No related merge requests found
const delay = require('delay');
jest.mock('../../../../lib/platform/github/gh-got-wrapper');
jest.mock('../../../../lib/datasource/npm');
jest.mock('got');
......@@ -200,7 +202,7 @@ describe('workers/pr/changelog', () => {
repositoryUrl: 'https://github-enterprise.example.com/chalk/chalk',
})
).toMatchSnapshot();
await delay(200);
expect(
await getChangeLogJSON({
...upgrade,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment