Removed unnecessary async

This commit is contained in:
Kir_Antipov 2023-05-20 15:10:21 +03:00
parent 4823b4cc14
commit 98e9aced20

View file

@ -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();