-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🪩 * ff
- Loading branch information
Showing
12 changed files
with
38,823 additions
and
241 deletions.
There are no files selected for viewing
8,157 changes: 8,157 additions & 0 deletions
8,157
packages/core/src/__tests__/__snapshots__/react-state-builder.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
8,251 changes: 8,251 additions & 0 deletions
8,251
packages/core/src/__tests__/__snapshots__/react-state-mobx.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
7,996 changes: 7,996 additions & 0 deletions
7,996
packages/core/src/__tests__/__snapshots__/react-state-solid.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
7,996 changes: 7,996 additions & 0 deletions
7,996
packages/core/src/__tests__/__snapshots__/react-state-valtio.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
6,116 changes: 6,116 additions & 0 deletions
6,116
packages/core/src/__tests__/__snapshots__/react-state-variables.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
478 changes: 239 additions & 239 deletions
478
packages/core/src/__tests__/__snapshots__/react.test.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { componentToReact } from '../generators/react'; | ||
import { runTestsForTarget } from './test-generator'; | ||
|
||
describe('React - stateType: builder', () => { | ||
runTestsForTarget({ | ||
options: { | ||
stateType: 'builder', | ||
}, | ||
target: 'react', | ||
generator: componentToReact, | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { componentToReact } from '../generators/react'; | ||
import { runTestsForTarget } from './test-generator'; | ||
|
||
describe('React - stateType: mobx', () => { | ||
runTestsForTarget({ | ||
options: { | ||
stateType: 'mobx', | ||
}, | ||
target: 'react', | ||
generator: componentToReact, | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { componentToReact } from '../generators/react'; | ||
import { runTestsForTarget } from './test-generator'; | ||
|
||
describe('React - stateType: solid', () => { | ||
runTestsForTarget({ | ||
options: { | ||
stateType: 'solid', | ||
}, | ||
target: 'react', | ||
generator: componentToReact, | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { componentToReact } from '../generators/react'; | ||
import { runTestsForTarget } from './test-generator'; | ||
|
||
describe('React - stateType: valtio', () => { | ||
runTestsForTarget({ | ||
options: { | ||
stateType: 'valtio', | ||
}, | ||
target: 'react', | ||
generator: componentToReact, | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { componentToReact } from '../generators/react'; | ||
import { runTestsForTarget } from './test-generator'; | ||
|
||
describe('React - stateType: variables', () => { | ||
runTestsForTarget({ | ||
options: { | ||
stateType: 'variables', | ||
}, | ||
target: 'react', | ||
generator: componentToReact, | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters