install babel to transpile my test code to enable Jest to understand import statements

This commit is contained in:
Ryan Mwangi 2024-10-29 23:50:54 +03:00
parent 52b2b8fda5
commit 6be1456c35
2 changed files with 1631 additions and 0 deletions

1629
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,8 @@
"author": "Ryan", "author": "Ryan",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"jest": "^29.7.0" "jest": "^29.7.0"
} }
} }