Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: account for non-node basename #33952

Closed

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Jun 18, 2020

Refs edf75e4.

Electron runs smoke tests with Node.js' own specs against our emulated version of Node.js, and so it's the case for us that the basename is Electron. These tests were failing as they're hardcoded to assume it's node so this makes them more flexible for embedders.

cc @addaleax

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@codebytere codebytere requested a review from addaleax June 18, 2020 21:39
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Jun 18, 2020
@nodejs-github-bot
Copy link
Collaborator

@codebytere
Copy link
Member Author

Landed in 46ee864

codebytere added a commit that referenced this pull request Jun 22, 2020
PR-URL: #33952
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@codebytere codebytere closed this Jun 22, 2020
@codebytere codebytere deleted the throw-error-with-basename branch June 22, 2020 18:29
codebytere added a commit that referenced this pull request Jun 27, 2020
PR-URL: #33952
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@codebytere codebytere mentioned this pull request Jun 28, 2020
codebytere added a commit that referenced this pull request Jun 30, 2020
PR-URL: #33952
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere added a commit that referenced this pull request Jul 10, 2020
PR-URL: #33952
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere added a commit that referenced this pull request Jul 12, 2020
PR-URL: #33952
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@codebytere codebytere mentioned this pull request Jul 13, 2020
codebytere added a commit that referenced this pull request Jul 14, 2020
PR-URL: #33952
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
codebytere added a commit to electron/electron that referenced this pull request Jul 23, 2020
codebytere added a commit to electron/electron that referenced this pull request Jul 24, 2020
codebytere added a commit to electron/electron that referenced this pull request Jul 24, 2020
codebytere added a commit to electron/electron that referenced this pull request Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants