File tree Expand file tree Collapse file tree 5 files changed +6
-58
lines changed Expand file tree Collapse file tree 5 files changed +6
-58
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import parse from "@cucumber/tag-expressions";
88
99import { generateMessages } from "@cucumber/gherkin" ;
1010
11+ import { getSpecs } from "find-cypress-specs" ;
12+
1113import { INTERNAL_PROPERTY_NAME , INTERNAL_SUITE_PROPERTIES } from "./constants" ;
1214
1315import {
@@ -46,8 +48,6 @@ import { assertNever } from "./helpers/assertions";
4648
4749import debug from "./helpers/debug" ;
4850
49- import { getSpecs } from "./helpers/specs" ;
50-
5151const resolve = memoize ( origResolve ) ;
5252
5353export type AddOptions = {
Original file line number Diff line number Diff line change 11import fs from "fs/promises" ;
22import path from "path" ;
33import util from "util" ;
4+ import { getSpecs } from "find-cypress-specs" ;
45import {
56 Expression ,
67 ParameterTypeRegistry ,
@@ -28,7 +29,6 @@ import {
2829 getStepDefinitionPaths ,
2930} from "../step-definitions" ;
3031import { notNull } from "../helpers/type-guards" ;
31- import { getSpecs } from "../helpers/specs" ;
3232
3333export interface DiagnosticStep {
3434 source : string ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import { generateMessages } from "@cucumber/gherkin";
66
77import { IdGenerator , SourceMediaType } from "@cucumber/messages" ;
88
9+ import { getSpecs } from "find-cypress-specs" ;
10+
911import ancestor from "common-ancestor-path" ;
1012
1113import { assertAndReturn } from "./helpers/assertions" ;
@@ -27,8 +29,6 @@ import debug from "./helpers/debug";
2729
2830import type { CreateTestsOptions } from "./browser-runtime" ;
2931
30- import { getSpecs } from "./helpers/specs" ;
31-
3232const { stringify } = JSON ;
3333
3434export async function compile (
Original file line number Diff line number Diff line change 7474 "cosmiconfig" : " ^9.0.0" ,
7575 "debug" : " ^4.3.6" ,
7676 "error-stack-parser" : " ^2.1.4" ,
77- "find-cypress-specs" : " ^1.45.1 " ,
77+ "find-cypress-specs" : " ^1.45.2 " ,
7878 "glob" : " ^10.4.5" ,
7979 "is-path-inside" : " ^3.0.3" ,
8080 "mocha" : " ^10.7.0" ,
You can’t perform that action at this time.
0 commit comments