Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test: add test for esbuild/utils.ts #492

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

Merged
merged 2 commits into from
Apr 9, 2025

Conversation

ysknsid25
Copy link
Contributor

resolves #489 but to be continue...

before

image

after

image

Copy link

pkg-pr-new bot commented Apr 8, 2025

Open in StackBlitz

npm i https://pkg.pr.new/unjs/unplugin@492

commit: e2a9b79

vitest.config.ts Outdated
Copy link
Contributor Author

Choose a reason for hiding this comment

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

filename is vitest.config.ts but import defineConfig from vite. so it Corrected.
and Coverage acquisition ranges were set for accurate measurements.

@antfu antfu requested review from sxzz and Copilot April 8, 2025 23:25
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

test/unit-tests/esbuild/utils.test.ts:118

  • Using async on the describe block may cause unexpected behavior; consider moving the async keyword to the individual test (it block) instead.
describe('createBuildContext', async () => {

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.

test: Improve test coverage
2 participants