Skip to content

Commit

Permalink
add r2 plugin to jest-environment-miniflare (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerberus authored Jul 12, 2022
1 parent d5606ec commit 67d35f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/jest-environment-miniflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
} from "@miniflare/durable-objects";
import { HTMLRewriterPlugin } from "@miniflare/html-rewriter";
import { KVPlugin } from "@miniflare/kv";
import { R2Plugin } from "@miniflare/r2";
import { VMScriptRunner, defineHasInstances } from "@miniflare/runner-vm";
import { Context, NoOpLog } from "@miniflare/shared";
import { SitesPlugin } from "@miniflare/sites";
Expand All @@ -37,6 +38,7 @@ declare global {
const PLUGINS = {
CorePlugin,
KVPlugin,
R2Plugin,
DurableObjectsPlugin,
CachePlugin,
SitesPlugin,
Expand Down

0 comments on commit 67d35f8

Please sign in to comment.