diff --git a/.claude/skills/add-test/SKILL.md b/.claude/skills/add-test/SKILL.md index f8c65e40..3596edd2 100644 --- a/.claude/skills/add-test/SKILL.md +++ b/.claude/skills/add-test/SKILL.md @@ -51,4 +51,4 @@ Test runtime style application on native platform. 4. **Write the test**: Follow the conventions of the domain. -5. **Run the test**: Execute `yarn test`. Note: ignore `ExperimentalWarning: VM Modules` warnings — they're expected. +5. **Run the test**: Execute `yarn test`. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fee4cebb..82b1a30e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -88,9 +88,6 @@ Remember to add tests for your pull request if possible. Run the unit tests by: yarn test ``` -> [!NOTE] -> Ignore any ExperimentalWarning: VM Modules warnings. We are using the experimental [ECMAScript Modules](https://jestjs.io/docs/ecmascript-modules) - ### Debugging Run the example via the command line with the `debug` script to enable debugging: diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 5125ac7c..f4efbcb8 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -117,12 +117,11 @@ yarn example start:debug # Rebuild + start with debug logging ## Testing -- **Runner:** Jest with experimental ESM support (`NODE_OPTIONS="--experimental-vm-modules"`) +- **Runner:** Jest with the `jest-expo` preset (`.config/jest.config.cjs`) - **Convention:** Tests in `src/__tests__/` organized by domain (`babel/`, `compiler/`, `native/`) - **Babel tests** use `babel-plugin-tester` - **Compiler tests** verify JSON output structure - **Run specific suites:** `yarn test babel`, `yarn test compiler` -- Ignore `ExperimentalWarning: VM Modules` warnings — expected with ESM support ## Code Conventions