mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-19 05:37:51 +08:00
13 lines
281 B
TypeScript
13 lines
281 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
import { Mark } from '@tiptap/core'
|
|
|
|
describe('configure marks', () => {
|
|
it('should inherit config', () => {
|
|
const exitable = true
|
|
const mark = Mark.create({ exitable })
|
|
|
|
expect(mark.configure().config.exitable).to.eq(true)
|
|
})
|
|
})
|