mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-24 09:27: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)
|
|
})
|
|
})
|