UNPKG
@revoloo/cypress6
Version:
latest (1.0.0)
1.0.0
Cypress.io end to end testing tool
github.com/cypress-io/cypress
cypress-io/cypress
@revoloo/cypress6
/
npm
/
webpack-batteries-included-preprocessor
/
test
/
fixtures
/
ts_spec.ts
13 lines
(9 loc)
•
286 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
expect
} from
'chai'
import
{ pathed } from
'@paths/paths-example-file'
// simple example of typescript types
type SomeType = { someProp: string }
const
someObj: SomeType = { someProp:
'someValue'
}
expect
(pathed).to.be.
true
expect
(someObj.someProp).to.equal(
'someValue'
)