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

Remove --require from mocha commands in integration test scripts #4312

Merged
merged 2 commits into from
Mar 16, 2022

Conversation

tohhsinpei
Copy link
Member

@tohhsinpei tohhsinpei commented Mar 16, 2022

Description

2 changes:

  1. What the title of this PR says. As per this comment, we don't need to specify --require in the mocha commands in the integration test scripts because the requirements are already specified in the .mocharc in the parent directory:

    require:
    - ts-node/register
    - source-map-support/register
    - src/test/helpers/mocha-bootstrap.ts

  2. (Just throwing this one in because it has been bothering me) Add ui-debug.log, which is generated when running npm run test:storage-emulator-integration, to .gitignore

Copy link
Contributor

@taeold taeold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat!

Copy link
Contributor

@bkendall bkendall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bkendall bkendall merged commit 341e176 into master Mar 16, 2022
@tohhsinpei tohhsinpei deleted the hsinpei/cli-integration-run-cleanup branch March 17, 2022 14:43
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.

3 participants