Skip to content

Commit

Permalink
Woops, typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SleeplessByte committed Aug 12, 2024
1 parent c907f7b commit 75639b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions test/asserts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const SILENT = process.env.SILENT !== '0' && process.env.RUNNER_DEBUG !== '1'
export function assertPass(slug, fixture, outputDir = null) {
outputDir =
outputDir ||
(process.env.process.env.TMP_MAY_BE_NON_EXEC
(process.env.TMP_MAY_BE_NON_EXEC
? fixture
: mkdtempSync(join(tmpdir(), 'assert-pass-')))
const resultPath = join(outputDir, 'results.json')
Expand Down Expand Up @@ -70,7 +70,7 @@ export function assertPass(slug, fixture, outputDir = null) {
export function rejectPass(slug, fixture, outputDir = null) {
outputDir =
outputDir ||
(process.env.process.env.TMP_MAY_BE_NON_EXEC
(process.env.TMP_MAY_BE_NON_EXEC
? fixture
: mkdtempSync(join(tmpdir(), 'reject-pass-')))
const resultPath = join(outputDir, 'results.json')
Expand Down Expand Up @@ -137,7 +137,7 @@ export function rejectPass(slug, fixture, outputDir = null) {
export function assertError(slug, fixture, outputDir = null) {
outputDir =
outputDir ||
(process.env.process.env.TMP_MAY_BE_NON_EXEC
(process.env.TMP_MAY_BE_NON_EXEC
? fixture
: mkdtempSync(join(tmpdir(), 'assert-error-')))
const resultPath = join(outputDir, 'results.json')
Expand Down
2 changes: 1 addition & 1 deletion test/log.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const SILENT = process.env.SILENT !== '0' && process.env.RUNNER_DEBUG !== '1'
export function assertLog(slug, fixture, outputDir = null) {
outputDir =
outputDir ||
(process.env.process.env.TMP_MAY_BE_NON_EXEC
(process.env.TMP_MAY_BE_NON_EXEC
? fixture
: mkdtempSync(join(tmpdir(), 'assert-log-')))
const resultPath = join(outputDir, 'results.json')
Expand Down
2 changes: 1 addition & 1 deletion test/taskid.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ shelljs.echo(

const slug = 'lasagna'
const fixture = join(fixtures, slug, 'exemplar')
const outputDir = process.env.process.env.TMP_MAY_BE_NON_EXEC
const outputDir = process.env.TMP_MAY_BE_NON_EXEC
? fixture
: mkdtempSync(join(tmpdir(), 'assert-pass-'))
const resultPath = join(outputDir, 'results.json')
Expand Down

0 comments on commit 75639b6

Please sign in to comment.