Skip to content

test: run the node_modules, module-error, index.json and import specs on V8 iOS - #29

Draft
edusperoni wants to merge 1 commit into
masterfrom
feat/runtime-common-step8
Draft

edusperoni wants to merge 1 commit into
masterfrom
feat/runtime-common-step8

Conversation

@edusperoni

Copy link
Copy Markdown
Collaborator

The iOS runtime now resolves require() through the shared runtime-common loader core, so these specs no longer need to be skipped on V8 iOS:

  • node_modules traversal
  • a directory's index.json
  • errors thrown by a required module
  • ES module syntax in a required .js file

The import suite now clears TNS output before each spec (beforeEach(TNSClearOutput)), since an earlier suite can leave output behind.

Used by NativeScript/ios#625 and NativeScript/android#2179. Merge this first, then bump the submodule in both runtimes.

… on V8 iOS

The iOS runtime now resolves require() through the shared runtime-common core: node_modules traversal, a directory's index.json, errors thrown by a required module, and ES module syntax in a required .js file all behave as on the other runtimes. The import suite clears TNS output before each spec, since an earlier suite may leave output behind.
@coderabbitai

coderabbitai Bot commented Dec 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8357f205-674a-4ddb-9d43-84b878e8a89f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant