enable typescript support for cypress
This commit is contained in:
9
tests/cypress/integration/core/capitalize.spec.ts
Normal file
9
tests/cypress/integration/core/capitalize.spec.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { capitalize } from '@tiptap/core'
|
||||
|
||||
describe('capitalize test', () => {
|
||||
it('capitalize a word', () => {
|
||||
const capitalized = capitalize('test')
|
||||
|
||||
expect(capitalized).to.eq('Test')
|
||||
})
|
||||
})
|
||||
5
tests/cypress/integration/core/example.spec.ts
Normal file
5
tests/cypress/integration/core/example.spec.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
describe('example test', () => {
|
||||
it('should work', () => {
|
||||
expect('<p>Example Text</p>').to.eq('<p>Example Text</p>')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user