You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
458 B
16 lines
458 B
// @ts-nocheck
|
|
import { describe, expect, test } from 'bun:test'
|
|
|
|
describe('BoMdEditor', () => {
|
|
test('Vditor can be imported', async () => {
|
|
const mod = await import('vditor')
|
|
expect(mod.default).toBeDefined()
|
|
})
|
|
|
|
test('Vditor has expected API', async () => {
|
|
const Vditor = (await import('vditor')).default
|
|
expect(typeof Vditor).toBe('function')
|
|
// Vditor static methods
|
|
expect(typeof Vditor.preview).toBe('function')
|
|
})
|
|
})
|
|
|