Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TorstenDittmann committed Sep 12, 2023
1 parent c96bd73 commit 1686837
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/process/tests/processor.test.mjs
Original file line number Diff line number Diff line change
@@ -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 () => {
Expand Down

0 comments on commit 1686837

Please sign in to comment.