Skip to content

Commit

Permalink
fix: test if SKOLENGO_TOKENSET envvar is set
Browse files Browse the repository at this point in the history
  • Loading branch information
maelgangloff committed May 3, 2024
1 parent b41d5f2 commit 5053e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/user.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Skolengo } from '../src/index'
import './common'

const SKOLENGO_TOKENSET = process.env.SKOLENGO_TOKENSET
const describeAuthenticated = SKOLENGO_TOKENSET !== undefined ? describe : describe.skip
const describeAuthenticated = !!SKOLENGO_TOKENSET ? describe : describe.skip

/**
* Tests unitaires des endpoints qui nécessitent une authentification
Expand Down

0 comments on commit 5053e3e

Please sign in to comment.