Skip to content

Commit

Permalink
fix: add isomorphic-fetch in sync.test.js for CI check failure
Browse files Browse the repository at this point in the history
  • Loading branch information
schabibi1 committed Jan 17, 2023
1 parent f6e82ff commit b205be6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/__tests__/setup.js

This file was deleted.

1 change: 1 addition & 0 deletions lib/__tests__/sync.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require("isomorphic-fetch")
const StoryblokClient = require('storyblok-js-client')
const Sync = require('../src/sync')

Expand Down
2 changes: 1 addition & 1 deletion lib/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig(() => {
},
},
test: {
setupFiles: ["./__tests__/setup.js"],
setupFiles: ["./setup.js"],
},
};
});

0 comments on commit b205be6

Please sign in to comment.