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-preprocessor
/
examples
/
use-ts-loader
/
cypress
/
integration
/
spec.ts
17 lines
(14 loc)
•
303 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
describe(
'Use ts-loader'
, () => { it(
'works'
, () => {
const
data
= { person: { firstName:
'Joe'
, }, }
expect
(
data
.person.firstName).to.equal(
'Joe'
) cy.wrap(
data
).should(
'have.property'
,
'person'
) .should(
'deep.equal'
, { firstName:
'Joe'
, }) }) })