Local development
Run and test your Ember on your own machine.
Start the dev server
npx kiln devFlag | Effect |
|---|---|
| Listen on another port |
| Use real bindings instead of local simulators |
| Expose |
Tests
import { expect, it } from "vitest";
import worker from "../src";
it("responds", async () => {
const res = await worker.fetch(new Request("http://x/"), {} as Env, {} as ExecutionContext);
expect(await res.text()).toContain("Hello");
});Updated
Was this page helpful?