Closed lake2 closed 2 months ago
Latest commit: 605a2b26983d71b25532e428a8373b4569d76b1a
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Can you add some tests for this?
I tried, I can add tests for watch=false
and sync=true
options.
It's hard to mock worker and file change watcher.
I think tests to ensure that onSuccess
and onFail
are called are enough
I think tests to ensure that
onSuccess
andonFail
are called are enough
Sure. I will accomplish it later.
I think tests to ensure that
onSuccess
andonFail
are called are enough
Test cases update. Can you release a beta version for testing?
Closes https://github.com/swc-project/pkgs/issues/55
I rename
packages/cli/src/swc/index.ts
topackages/cli/src/swc/bin.ts
, and exportswcDir
function via newpackages/cli/src/swc/index.ts
add doc here: https://github.com/swc-project/website/pull/261