Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 3aa49cb

Browse files
committed
Add --allowOnly flag to vitest-environment-miniflare tests
1 parent 6e58dc3 commit 3aa49cb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
# `@miniflare/shared-test-environment`
2+
3+
Shared test environment utility module for
4+
[Miniflare](https://github.com/cloudflare/miniflare): a fun, full-featured,
5+
fully-local simulator for Cloudflare Workers.

packages/vitest-environment-miniflare/test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function runVitest(
3434
return new Promise((resolve) => {
3535
const vitest = childProcess.spawn(
3636
vitestPath,
37-
["run", "--reporter=verbose"],
37+
["run", "--reporter=verbose", "--allowOnly"],
3838
{
3939
cwd,
4040
env: {

0 commit comments

Comments
 (0)