tiptap/tests/cypress/integration/core/configureExtensions.spec.ts

13 lines
304 B
TypeScript
Raw Normal View History

/// <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)
})
})