@@ -2,7 +2,7 @@ import process from 'node:process'
22import assert from 'node:assert/strict'
33import test from 'node:test'
44import { VFile } from 'vfile'
5- import { unified } from '../index.js '
5+ import { unified } from 'unified '
66
77test ( 'run(node[, file], done)' , async ( ) => {
88 const givenFile = new VFile ( 'alpha' )
@@ -144,7 +144,7 @@ test('run(node[, file], done)', async () => {
144144 unified ( )
145145 . use (
146146 // Note: TS JS doesn’t understand the promise w/o explicit type.
147- /** @type {import('../index.js ').Plugin<[]> } */
147+ /** @type {import('unified ').Plugin<[]> } */
148148 ( ) =>
149149 function ( ) {
150150 return new Promise ( ( resolve ) => {
@@ -436,7 +436,7 @@ test('run(node[, file])', async () => {
436436 unified ( )
437437 . use (
438438 // Note: TS JS doesn’t understand the promise w/o explicit type.
439- /** @type {import('../index.js ').Plugin<[]> } */
439+ /** @type {import('unified ').Plugin<[]> } */
440440 ( ) =>
441441 function ( ) {
442442 return new Promise ( ( resolve ) => {
@@ -661,7 +661,7 @@ test('runSync(node[, file])', async () => {
661661 unified ( )
662662 . use (
663663 // Note: TS JS doesn’t understand the promise w/o explicit type.
664- /** @type {import('../index.js ').Plugin<[]> } */
664+ /** @type {import('unified ').Plugin<[]> } */
665665 ( ) =>
666666 function ( ) {
667667 return new Promise ( ( resolve ) => {
0 commit comments