Skip to content

Commit

Permalink
fix cli tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KarolNet committed Jan 18, 2022
1 parent acf6882 commit dfb536e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __tests__/default-usage.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,9 @@ describe('sourceNodes', () => {
});

test('Updates only new data', async () => {
const LAST_UPDATE = '2020-01-01T00:00:00Z';
const actions = createObjectWithMethods(['createNode','setPluginStatus','touchNode','deleteNode']);
const LAST_UPDATE = '2020-01-01T00:00:00Z';

const gatsbyFunctions = {
actions,
store: {getState: jest.fn(_ => {return { status: {plugins: {
Expand Down

0 comments on commit dfb536e

Please sign in to comment.