Skip to content

Commit

Permalink
feat(int-1031): Add customFetch method to Storyblok class
Browse files Browse the repository at this point in the history
- Update test file
  • Loading branch information
Thiago Saife Rodrigues committed Dec 26, 2023
1 parent 5c372a6 commit 213c895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/customFetch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ const generateJibberishWord = (length) => {

describe('customFetch', () => {
let client
const url = `spaces/${$VITE_SPACE_ID}/stories`
const url = `spaces/${process.env.VITE_SPACE_ID}/stories`

beforeEach(() => {
client = new StoryblokClient({
oauthToken: $VITE_OAUTH_TOKEN,
oauthToken: process.env.VITE_OAUTH_TOKEN,
})
})

Expand Down

0 comments on commit 213c895

Please sign in to comment.