Update devtools
This commit is contained in:
parent
ba108193ec
commit
1b37c64ef8
|
@ -1,11 +1,11 @@
|
|||
import {
|
||||
expect,
|
||||
it,
|
||||
mockfn,
|
||||
test,
|
||||
} from "https://code.thunderk.net/typescript/devtools/raw/1.0.1/testing.ts";
|
||||
} from "https://code.thunderk.net/typescript/devtools/raw/1.2.2/testing.ts";
|
||||
import { processRequest } from "./server.ts";
|
||||
|
||||
test("serveBundles standard", async () => {
|
||||
it("serveBundles standard", async () => {
|
||||
const mock_run = mockfn(() => {
|
||||
return {
|
||||
output: () => Promise.resolve(new TextEncoder().encode("abc")),
|
||||
|
@ -29,7 +29,7 @@ test("serveBundles standard", async () => {
|
|||
});
|
||||
});
|
||||
|
||||
test("serveBundles bad path", async () => {
|
||||
it("serveBundles bad path", async () => {
|
||||
const mock_run = mockfn(() => {
|
||||
return {
|
||||
output: () => Promise.resolve(new TextEncoder().encode("abc")),
|
||||
|
@ -51,7 +51,7 @@ test("serveBundles bad path", async () => {
|
|||
expect(mock_run).toHaveBeenCalledTimes(0);
|
||||
});
|
||||
|
||||
test("serveBundles bundle fail", async () => {
|
||||
it("serveBundles bundle fail", async () => {
|
||||
const mock_run = mockfn(() => {
|
||||
return {
|
||||
output: () => Promise.resolve(undefined),
|
||||
|
|
Loading…
Reference in New Issue