Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
function findTestModules
import { findTestModules } from "https://deno.land/x/deno@v0.30.0/std/testing/mod.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>