Skip to content

Easily test your Cloudflare Worker projects using ava and typescript/javascript

Notifications You must be signed in to change notification settings

seamapi/ava-wrangler-fixture

Repository files navigation

Ava Wrangler Fixture

Easily test your cloudflare worker projects using ava and typescript/javascript

Usage

import test from "ava"
import getTestServer from "ava-wrangler-fixture"

test("test server should work", async (t) => {
  const { axios } = await getTestServer(t)

  const res = await axios.post("/", { hello: "world!" })

  t.is(res.status, 200)
})

About

Easily test your Cloudflare Worker projects using ava and typescript/javascript

Resources

Stars

Watchers

Forks

Packages

No packages published