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

Fix Test and declare module #76

Merged
merged 3 commits into from
Dec 6, 2023
Merged

Fix Test and declare module #76

merged 3 commits into from
Dec 6, 2023

Conversation

ycheng627
Copy link
Collaborator

  • Fix npm test script to run with presubmit
  • Fix any linting problem
  • Declare extension code to use ECMAScript Module, and modify any CommonJS code to use .cjs file type

Currently, CI script runs the `test:ci` script, which does not check
for linting error. There is no need to maintain two separate scripts
(`test` and `test:ci`).

Maintain just one `test` script, and migrate all usage of `test:ci` to
using `test`.

BUG: NONE
Fix lint error in app component, which was not catched before.
Add `type: module` key to package.json.

Change all configuration files using commonJS syntax to have .cjs
filetype.
@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c4438c2) 53.77% compared to head (fd48e9a) 61.79%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
+ Coverage   53.77%   61.79%   +8.02%     
==========================================
  Files          21       25       +4     
  Lines         318      479     +161     
  Branches       30       51      +21     
==========================================
+ Hits          171      296     +125     
- Misses        144      180      +36     
  Partials        3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@BaiiYuan BaiiYuan left a comment

Choose a reason for hiding this comment

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

LGTM

@ycheng627 ycheng627 merged commit d830d73 into main Dec 6, 2023
5 checks passed
@ycheng627 ycheng627 deleted the yycheng/linter branch December 6, 2023 08:29
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.

4 participants