Skip to content

Commit 6d7ba97

Browse files
committed
define types/spec FoundSpec without ref to Cypress namespace
1 parent 61562c6 commit 6d7ba97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/types/src/spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export interface SpecFile extends BaseSpec {
1313
export interface FoundSpec extends SpecFile {
1414
specFileExtension: string
1515
fileExtension: string
16-
specType: Cypress.CypressSpecType
16+
// see: ./cli/types/cypress.d.ts `Cypress.CypressSpecType`
17+
specType: 'integration' | 'component'
1718
}
1819

1920
export interface SpecWithRelativeRoot extends FoundSpec {

0 commit comments

Comments
 (0)