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 45ee6e1 commit f446ffc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/customFetch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@ describe('define environment variables', () => {
const oauthToken = process.env.VITE_OAUTH_TOKEN;
const spaceId = process.env.VITE_SPACE_ID;

console.log('env =>', process.env);

expect(accessToken).toBeDefined();
expect(oauthToken).toBeDefined();
expect(spaceId).toBeDefined();
expect(accessToken).not.toEqual('');
expect(oauthToken).not.toEqual('');
expect(spaceId).not.toEqual('');
});
})

Expand Down

0 comments on commit f446ffc

Please sign in to comment.