@unotest/web 0.48.0 → 0.49.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { L as LegacyLayout } from '../legacy-layout-By62PkbP.js';
2
- import { L as LintDiagnostic } from '../linter-BWSAYBQy.js';
2
+ import { L as LintDiagnostic } from '../linter-RrjB1n9R.js';
3
3
  import '@unotest/dsl';
4
4
 
5
5
  /** Derive a viewer-compatible scenario name from an absolute scenario
@@ -16,9 +16,10 @@ declare function extraPositionalsError(cmd: string, positional: string[]): strin
16
16
  /** Stderr text for a scenario reference that didn't land on a file.
17
17
  * Names the directory trap explicitly (a project-level `e2e/` folder
18
18
  * shadowing a scenario name gets a different message than a plain miss)
19
- * and closes with a did-you-mean over `unotest/e2e/**`.
19
+ * and closes with a did-you-mean over `unotest/e2e/**`. `command` is the
20
+ * one that was typed — `e2e`, or `lint`, which names scenarios the same way.
20
21
  * Exported only for tests. */
21
- declare function scenarioNotFoundMessage(arg: string, scenarioPath: string, cwd: string): string;
22
+ declare function scenarioNotFoundMessage(arg: string, scenarioPath: string, cwd: string, command?: "e2e" | "lint"): string;
22
23
  /** Flag a scenario that sits directly in `unotest/e2e/` instead of a feature
23
24
  * subfolder (`lint:scenario-in-root`). Files whose basename starts with `_`
24
25
  * (`_template.js`, anything under `_helpers/`) are exempt — they aren't