From 1686837ae7a3744c972679582bbd7b326c4e6e89 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 13 Sep 2023 01:25:58 +0200 Subject: [PATCH] fix: tests --- packages/process/tests/processor.test.mjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/process/tests/processor.test.mjs b/packages/process/tests/processor.test.mjs index f058008..63341fe 100644 --- a/packages/process/tests/processor.test.mjs +++ b/packages/process/tests/processor.test.mjs @@ -1,16 +1,15 @@ import fg from 'fast-glob'; import assert from 'node:assert/strict'; import { test } from 'node:test'; -import { basename, dirname, join } from 'node:path'; +import { basename, join } from 'node:path'; import { markdoc } from '../dist/module.js'; -import { absoulute, read_file, relative_posix_path } from './utils.mjs'; -import { fileURLToPath } from 'node:url'; +import { read_file } from './utils.mjs'; test('preprocessor', async (context) => { const preprocess = markdoc(); await context.test('should return a preprocessor', async () => { - assert.ok(preprocess.name === 'markdoc'); + assert.ok(preprocess.name === 'svelte-markdoc-preprocess'); assert.ok('markup' in preprocess); }); await context.test('ignores non-extension files', async () => {