Skip to content

Commit

Permalink
test: rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Apr 27, 2024
1 parent 2028762 commit 3840b90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/browser/specs/benchmark.test.mjs

This file was deleted.

8 changes: 8 additions & 0 deletions test/browser/specs/benchmark.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { expect, test } from 'vitest'
import { runVitest } from '../../test-utils'

test('benchmark', async () => {
const result = await runVitest({ root: 'fixtures/benchmark' }, [], 'benchmark')
expect(result.stdout).toContain('✓ basic.bench.ts > suite-a')
expect(result.exitCode).toBe(0)
})

0 comments on commit 3840b90

Please sign in to comment.