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
/
test
/
unit
/
dist.spec.ts
10 lines
(8 loc)
•
281 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
const
{ expect } =
require
(
'chai'
)
const
preprocessor =
require
(
'../../dist/index'
)
describe
(
'tyepscript ./dist output'
,
() =>
{
it
(
'builds dist correctly'
,
() =>
{
expect
(preprocessor).
to
.
be
.
a
(
'function'
)
expect
(preprocessor).
to
.
have
.
property
(
'defaultOptions'
) }) })