mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
feat(unstable): Add deno test --no-run (#8093)
This commit adds new flag to "deno test" subcommand called "--no-run" that allows to preload, cache an type check.
This commit is contained in:
parent
686a17fc07
commit
14877f7fe2
7 changed files with 98 additions and 155 deletions
|
@ -149,7 +149,7 @@ impl ModuleSpecifier {
|
|||
/// Converts a string representing a relative or absolute path into a
|
||||
/// ModuleSpecifier. A relative path is considered relative to the current
|
||||
/// working directory.
|
||||
fn resolve_path(
|
||||
pub fn resolve_path(
|
||||
path_str: &str,
|
||||
) -> Result<ModuleSpecifier, ModuleResolutionError> {
|
||||
let path = current_dir().unwrap().join(path_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue