Skip to content
This repository has been archived by the owner on May 23, 2021. It is now read-only.

Commit

Permalink
add empty suite
Browse files Browse the repository at this point in the history
  • Loading branch information
v1rtl committed Mar 8, 2021
1 parent b066a51 commit d07a3ea
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ type Fn = (done: (err?: unknown) => void) => void | Promise<void>

const msg = (...x: string[]) => Deno.stdout.writeSync(new TextEncoder().encode(x.join(' ')))

let testSuites: {
const testSuites: {
name: string
cases: { name: string; case: Fn }[]
}[] = []
}[] = [
{
name: '',
cases: []
}
]
let currSuite = 0,
totalSuites = 0,
totalCases = 0
Expand Down Expand Up @@ -55,7 +60,7 @@ const summary = (totalSuites: number, failedSuites: number, suite: { cases: { ca
}

export const run = () => {
msg(bold(new URL('', import.meta.url).pathname), '\n')
// msg(bold(new URL('', import.meta.url).pathname), '\n')

let failedSuites = 0

Expand Down

0 comments on commit d07a3ea

Please sign in to comment.