We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3793739 commit a845fa6Copy full SHA for a845fa6
test/index.spec.js
@@ -25,9 +25,9 @@ const pages = [
25
26
describe('Index building', () => {
27
beforeEach(() => {
28
- index.rebuildPagesIndex();
29
sinon.stub(fs, 'readJson').rejects('dummy error');
30
sinon.stub(fs, 'writeJson').resolves('');
+ return index.rebuildPagesIndex();
31
});
32
33
describe('failure', () => {
0 commit comments