diff --git a/packages/nuekit/test/misc.test.js b/packages/nuekit/test/misc.test.js index 8e865ce6..7753ccf7 100644 --- a/packages/nuekit/test/misc.test.js +++ b/packages/nuekit/test/misc.test.js @@ -1,7 +1,7 @@ import { buildCSS, findModule } from '../src/builder.js' -import { parseMarkdown, getParts } from '../src/util.js' +import { getParts } from '../src/util.js' import { match } from '../src/browser/app-router.js' import { renderHead } from '../src/layout.js' import { getArgs } from '../src/cli.js' @@ -75,13 +75,6 @@ test('head', () => { expect(head).toInclude('') }) - -test('markdown', async () => { - const { meta, content } = parseMarkdown('---\nog: og.png\n---\n# Hey') - expect(meta.og).toBe('og.png') - expect(content.trim()).toBe('

Hey

') -}) - test('app router', async () => { expect(match('/fail/:id', '/users/20')).toBeNull() expect(match('/users/:id/edit', '/users/20')).toBeNull()