test: write test in JavaScript (#108)

* test: map imported module from the distribution files

* chore: remove @jest/globals, @types/jest, and ts-jest from dependencies

* test: modify test files to JavaScript

* test: remove `testMatch` option in Jest (redundant)

* build: remove `tsconfig.eslint.json`

* ci(test): set `--experimental-vm-modules` only on `Test Package` step instead
This commit is contained in:
Alfi Maulana
2023-12-11 19:38:06 +07:00
committed by GitHub
parent ad6a9d3164
commit 96089ee386
8 changed files with 11 additions and 93 deletions

View File

@@ -12,8 +12,6 @@ jobs:
fail-fast: false
matrix:
os: [windows, ubuntu, macos]
env:
NODE_OPTIONS: --experimental-vm-modules
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
@@ -34,6 +32,8 @@ jobs:
- name: Test Package
run: yarn test
env:
NODE_OPTIONS: --experimental-vm-modules
test-action:
name: Test Action