Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <[email protected]>
  • Loading branch information
mcollina committed Oct 14, 2024
1 parent a3d66d5 commit 6e39958
Showing 1 changed file with 24 additions and 8 deletions.
32 changes: 24 additions & 8 deletions test/cli.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ test('should run benchmark against server', (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

child
Expand Down Expand Up @@ -102,7 +104,9 @@ test('should parse HAR file and run requests', (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

child
Expand All @@ -126,7 +130,9 @@ test('should throw on unknown HAR file', (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

const lines = []
Expand Down Expand Up @@ -155,7 +161,9 @@ test('should throw on invalid HAR file', (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

const lines = []
Expand Down Expand Up @@ -187,7 +195,9 @@ test('should write warning about unused HAR requests', (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

const lines = []
Expand Down Expand Up @@ -241,7 +251,9 @@ test('run with workers', { skip: !hasWorkerSupport }, (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

child
Expand Down Expand Up @@ -278,7 +290,9 @@ test('should run handle PUT bodies', (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

const outputLines = []
Expand Down Expand Up @@ -323,7 +337,9 @@ test('should run handle PUT bodies', (t) => {
})

t.teardown(() => {
child.kill()
try {
child.kill()
} catch {}
})

const outputLines = []
Expand Down

0 comments on commit 6e39958

Please sign in to comment.