mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
b9a965c607
This commit merges the two vectors of specifiers into a single one introducing the concept of a "TestMode" which is a tri-state enum specifying how a specifier is to be tested (as documentation, as an executable module or as both). This is determined during the collection phase and determines how a specifier will be executed based on how the specifier was collected (directly or not) and if it has an eligible media_type when fetched. For example "deno test README.md" is marked as documentation because, while it is a direct inclusion it is not an executable media type therefore will only have the fenced code blocks that can be parsed from it tested.
11 lines
218 B
Rust
11 lines
218 B
Rust
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
pub mod coverage;
|
|
pub mod doc;
|
|
pub mod fmt;
|
|
pub mod installer;
|
|
pub mod lint;
|
|
pub mod repl;
|
|
pub mod standalone;
|
|
pub mod test;
|
|
pub mod upgrade;
|