Skip to content

Commit

Permalink
don't run audit tests cuz can't figure out how to run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Nov 9, 2023
1 parent c8d6d00 commit 8768128
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 1 addition & 2 deletions audit_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ for (
throw result.reason
}
if (result.status === 'warn') {
console.warn(result.reason) // or throw if you want full compliance (warnings are not requirements)
console.warn(result.reason)
}
// Avoid leaking resources
if ('body' in result && result.body instanceof ReadableStream) {
await result.body.cancel()
}
Expand Down
4 changes: 4 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@
"singleQuote": true,
"semiColons": false
}
},
"tasks": {
"test": "deno test --allow-net mod_test.ts",
"test:audit": "deno test --allow-net audit_test.ts"
}
}
7 changes: 7 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8768128

Please sign in to comment.