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

feat(linter): add new property for parse_jest_fn #2715

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

eryue0220
Copy link
Contributor

This pr is to add a new return value: local, which current property name always return expect and the local property will return its alias name for the following example:

import { expect as JEST_EXPECT } from '@jest/globals';

and the jest_expect_fn_call.name will return expect and the jest_expect_fn_call.local wil return JEST_EXPECT.

Copy link

codspeed-hq bot commented Mar 14, 2024

CodSpeed Performance Report

Merging #2715 will not alter performance

Comparing eryue0220:feat/update-parse-jest-fn (79f02dd) with main (f8fe3af)

Summary

✅ 29 untouched benchmarks

@mysteryven mysteryven merged commit 4947809 into oxc-project:main Mar 14, 2024
20 checks passed
@eryue0220 eryue0220 deleted the feat/update-parse-jest-fn branch April 30, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants