Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/testing/runner.ts>findTestModules

A modern runtime for JavaScript and TypeScript.
Go to Latest
function findTestModules
import { findTestModules } from "https://deno.land/x/deno@v0.28.0/std/testing/runner.ts";

Given a list of globs or URLs to include and exclude and a root directory from which to expand relative globs, yield a list of URLs (file: or remote) that should be imported for the test runner.

Parameters

includeModules: string[]
excludeModules: string[]
optional
root: string = [UNSUPPORTED]

Returns

AsyncIterableIterator<string>