From 6a428c55e04215463b3ca4d0a2541daa5422e8e4 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Thu, 21 Nov 2024 19:52:19 +0300 Subject: [PATCH] build(tests): ensure compatibility with ESM in Jest by updating test script - Updated test script in package.json to use with Jest. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5dd19c3..8389a71 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.1.0", "scripts": { "start": "node src/app.js", - "test": "jest ./test" + "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js ./test" }, "dependencies": { "axios": "^1.7.7",