Files
sweet/tests/deps.ts
T
Marvin Hagemeister 3850131063 chore: speed up tests (#1791)
This PR speeds up tests by handling custom created `Requests` object
directly instead of binding a socket and making a real HTTP request. For
most tests this is fine, and for those that aren't the existing testing
methods are all preserved.
2023-09-18 18:44:22 +02:00

41 lines
1.2 KiB
TypeScript

/// <reference no-default-lib="true" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />
/// <reference lib="dom.asynciterable" />
/// <reference lib="deno.ns" />
export {
assert,
assertEquals,
assertExists,
assertMatch,
assertNotMatch,
assertRejects,
assertStringIncludes,
} from "https://deno.land/std@0.193.0/testing/asserts.ts";
export { assertSnapshot } from "https://deno.land/std@0.193.0/testing/snapshot.ts";
export {
TextLineStream,
} from "https://deno.land/std@0.193.0/streams/text_line_stream.ts";
export { delay } from "https://deno.land/std@0.193.0/async/delay.ts";
export { retry } from "https://deno.land/std@0.193.0/async/retry.ts";
export {
default as puppeteer,
Page,
} from "https://deno.land/x/puppeteer@16.2.0/mod.ts";
export {
Document,
DOMParser,
HTMLElement,
HTMLMetaElement,
} from "https://esm.sh/linkedom@0.15.1";
export { defineConfig, type Preset } from "https://esm.sh/@twind/core@1.1.3";
export { default as presetTailwind } from "https://esm.sh/@twind/preset-tailwind@1.1.4";
export * as fs from "https://deno.land/std@0.195.0/fs/mod.ts";
export {
basename,
dirname,
fromFileUrl,
join,
} from "https://deno.land/std@0.193.0/path/mod.ts";