From ea58d89f98a2d6a3ecdce6cc8c5867016af66a56 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Sun, 25 Aug 2024 22:22:13 +0200 Subject: [PATCH] cleanup --- test/files.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/files.ts b/test/files.ts index 4ef84e0..bcf392b 100644 --- a/test/files.ts +++ b/test/files.ts @@ -1,10 +1,5 @@ -import { createHash } from 'crypto' -import { cp as cpFN, rm as rmFN } from 'fs' -import { readFile } from 'fs/promises' -import { promisify } from 'util' - -export const cp = promisify(cpFN) -export const rm = promisify(rmFN) +import { createHash } from 'node:crypto' +import { cp, readFile } from 'node:fs/promises' export const Files = { PDF: 'test/assets/AES.pdf',