Skip to content

Commit

Permalink
test: fix noToken logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tabcat committed Sep 18, 2023
1 parent 6844533 commit 6bcc17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-zzzync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import { isBrowser } from 'wherearewe'
const testName = 'zzzync-replicator'
const token = process.env.W3_TOKEN

const noToken = typeof token === 'string' && Boolean(token.length)
const noToken = typeof token === 'string' && token.length === 0

let _describe: Mocha.SuiteFunction | Mocha.PendingSuiteFunction
if (noToken) {
Expand Down

0 comments on commit 6bcc17d

Please sign in to comment.