Skip to content

Commit

Permalink
feat(int-1031): adding github variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Saife Rodrigues committed Oct 23, 2023
1 parent 340a006 commit c35f375
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { expect, test, describe } from 'vitest'
import StoryblokClient, { RichtextResolver } from '../'

const accessToken = import.meta.env.VITE_ACCESS_TOKEN
const accessToken = process.env.VITE_ACCESS_TOKEN

let Storyblok = new StoryblokClient({
accessToken,
Expand Down
2 changes: 1 addition & 1 deletion tests/interceptor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { expect, test, describe } from 'vitest'
import StoryblokClient from '../'

const accessToken = import.meta.env.VITE_ACCESS_TOKEN
const accessToken = process.env.VITE_ACCESS_TOKEN

const cache = {
type: 'memory',
Expand Down
2 changes: 1 addition & 1 deletion tests/redirect.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { expect, test, describe } from 'vitest'
import StoryblokClient from '../'

const accessToken = import.meta.env.VITE_ACCESS_TOKEN
const accessToken = process.env.VITE_ACCESS_TOKEN

let Storyblok = new StoryblokClient({
accessToken,
Expand Down
2 changes: 1 addition & 1 deletion tests/resolveLinks.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { expect, test, describe } from 'vitest'
import StoryblokClient from '../'

const accessToken = import.meta.env.VITE_ACCESS_TOKEN
const accessToken = process.env.VITE_ACCESS_TOKEN

let Storyblok = new StoryblokClient({
accessToken,
Expand Down
2 changes: 1 addition & 1 deletion tests/resolveRelations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { expect, test, describe } from 'vitest'
import StoryblokClient from '../'

const accessToken = import.meta.env.VITE_ACCESS_TOKEN
const accessToken = process.env.VITE_ACCESS_TOKEN

let Storyblok = new StoryblokClient({
accessToken,
Expand Down

0 comments on commit c35f375

Please sign in to comment.