mirror of
https://github.com/danbulant/oxc
synced 2026-05-20 20:58:48 +00:00
chore(transform_conformance): reorganize react-refresh related tests (#6918)
Move all tests that are copied from [react-refresh](https://github.com/facebook/react/blob/main/packages/react-refresh/src/__tests__/ReactFreshBabelPlugin-test.js) to the `react-refresh` directory, and add a README to describe the source of these tests. This way we can better stay in sync with upstream. related: https://github.com/oxc-project/oxc/pull/6884#discussion_r1816888813
This commit is contained in:
parent
c41c013b4d
commit
142da1d2ff
58 changed files with 4 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ x Output mismatch
|
|||
* refresh/does-not-transform-it-because-it-is-not-used-in-the-AST/input.jsx
|
||||
x Output mismatch
|
||||
|
||||
* refresh/supports-typescript-namespace-syntax/input.tsx
|
||||
* refresh/react-refresh/supports-typescript-namespace-syntax/input.tsx
|
||||
x Output mismatch
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
The tests of this directory are copied from the (react-refresh)[https://github.com/facebook/react/blob/main/packages/react-refresh/src/__tests__/ReactFreshBabelPlugin-test.js], and did some style, import order, and other minor changes to made them work with our transformer.
|
||||
|
||||
NOTE: This directory only add tests copied from the upstream, so that we can distinguish the source of the test
|
||||
Loading…
Reference in a new issue