fix misskey-js tests (unit and type)

This commit is contained in:
Hazelnoot 2025-10-01 14:49:43 -04:00
parent 02e80f6ea6
commit 5d645bd7ca
13 changed files with 60 additions and 201 deletions

View file

@ -0,0 +1,5 @@
import * as nodepath from 'path';
export const scriptsDir = import.meta.dirname;
export const rootDir = nodepath.join(scriptsDir, '../');
export const outDir = nodepath.join(rootDir, './built');

View file

@ -0,0 +1,5 @@
import { rm } from 'fs/promises';
import { outDir } from './_common.mjs';
console.log(`Cleaning ${outDir}...`);
await rm(outDir, { recursive: true, force: true });