mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-20 06:37:49 +08:00
13 lines
304 B
TypeScript
13 lines
304 B
TypeScript
|
/// <reference types="cypress" />
|
||
|
|
||
|
import { Extension } from '@tiptap/core'
|
||
|
|
||
|
describe('configure extensions', () => {
|
||
|
it('should inherit config', () => {
|
||
|
const name = 'my-extension'
|
||
|
const extension = Extension.create({ name })
|
||
|
|
||
|
expect(extension.configure().config.name).to.eq(name)
|
||
|
})
|
||
|
})
|