From 98e9aced204fc4f5aa942480d3f73eb865dd5027 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Sat, 20 May 2023 15:10:21 +0300 Subject: [PATCH] Removed unnecessary `async` --- tests/unit/utils/reflection/module-loader.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/utils/reflection/module-loader.spec.ts b/tests/unit/utils/reflection/module-loader.spec.ts index fadff0e..2c474f7 100644 --- a/tests/unit/utils/reflection/module-loader.spec.ts +++ b/tests/unit/utils/reflection/module-loader.spec.ts @@ -1,7 +1,7 @@ import { NODE_MODULE_LOADER, DYNAMIC_MODULE_LOADER } from "@/utils/reflection/module-loader"; describe("NODE_MODULE_LOADER", () => { - test("returns undefined if a module cannot be loaded", async () => { + test("returns undefined if a module cannot be loaded", () => { // https://github.com/nodejs/node/issues/35889 // Jest throws segfault if we try to actually test it, so... expect(NODE_MODULE_LOADER).toBeDefined();