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: Implement jest mocks for react-native. #535

Merged
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
75725a5
v2.0.0
Jul 8, 2024
9e0ea68
v3.0.0
Jul 8, 2024
799200d
v3.1.0
Jul 8, 2024
7833f46
v3.2.0
Jul 8, 2024
db3697f
v3.3.0
Jul 8, 2024
4f04b46
v3.4.0
Jul 8, 2024
d248241
v3.5.0
Jul 8, 2024
4944307
v3.5.1
Jul 8, 2024
f4ee714
v4.0.0
Jul 8, 2024
e8b3649
v4.1.0
Jul 8, 2024
a877514
v4.2.0
Jul 8, 2024
2531181
v4.2.1
Jul 8, 2024
8f9cec6
v4.2.2
Jul 8, 2024
b2657ff
chore: created jest mock test for react-native
Jul 30, 2024
75583b3
chore:added example test app for react-native
Jul 30, 2024
efbf89c
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Jul 30, 2024
60cd0a1
chore: added react-native-jest-example to root package.json
Jul 30, 2024
a5341e6
chore: added @launchdarkly/jest to example app package.json
Jul 30, 2024
ad47e51
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Aug 5, 2024
fbc8178
chore: added workspace:^ to package.json of example and jest root. Al…
professorice Aug 6, 2024
7750714
chore: added @testing-library/react-hooks to jest root package, added…
professorice Aug 6, 2024
3e3252a
chore:updated metro config to include find-yarn-workspace-root
professorice Aug 6, 2024
f737935
chore: Moved @launchdarkly/jest to devDependencies and changed test e…
professorice Aug 6, 2024
26692ce
Linting
kinyoklion Aug 6, 2024
af3fcc4
chore: modified App.tsx and welcome.tsx so that the example app is mo…
professorice Aug 13, 2024
f4b52b9
chrore: modified App.tsx and welcome.tsx to appear more like a normal…
professorice Aug 13, 2024
99c789f
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Aug 15, 2024
d95b070
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Aug 20, 2024
d4bbdeb
feature: added resetLDMocks to reset information stored in the mock.
professorice Aug 23, 2024
c578a19
chore: added "clean script to package json, and changed package json …
professorice Aug 23, 2024
1d92d09
fix: correct errors in jest configuration
professorice Aug 28, 2024
0728fdf
fix: typo in resetLDMocks
professorice Aug 28, 2024
4dc3bf2
chore: changed <Welcome> component to be a normal application
professorice Aug 28, 2024
3ef8baa
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Aug 28, 2024
b32dedf
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Aug 29, 2024
d36a2ad
chore: bumped versions
professorice Sep 13, 2024
1f2163e
fix: boolean flags work with simplified flag logic, but no other flag…
professorice Oct 1, 2024
6e3caf7
fix: MockFlags correctly mocks all types of flags
professorice Oct 8, 2024
3e146e8
chore: added tests for ldClient and boolean flag
professorice Oct 8, 2024
78fd823
chore: added a newline to the end of this files
professorice Oct 28, 2024
3d45157
chore: changed @launchdarkly/react-native-client-sdk from workspace t…
professorice Oct 28, 2024
3f5b48c
Merge branch 'main' into mzafir/react-native-jest-mock
professorice Oct 28, 2024
61aefc7
Update package.json
kinyoklion Oct 28, 2024
a4fad23
Update package.json
kinyoklion Oct 28, 2024
23e7dac
chore: pinned react native version to 10.9.0
professorice Oct 29, 2024
beef6b0
fix: removed getConnectionMode and setConnectionMode to since they ar…
professorice Oct 29, 2024
4fdbdbd
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Oct 29, 2024
e9493ed
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Oct 29, 2024
d2cb48e
chore: changed React Native dependency to patch releases
professorice Oct 29, 2024
0760dab
fix: prettier issue
professorice Oct 29, 2024
7bd782f
fix: removed setConnectionMode test
professorice Oct 29, 2024
210f710
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Oct 31, 2024
2fc00e4
Merge branch 'launchdarkly:main' into mzafir/react-native-jest-mock
professorice Oct 31, 2024
32d4a22
Merge branch 'main' into mzafir/react-native-jest-mock
kinyoklion Nov 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: added react-native-jest-example to root package.json
  • Loading branch information
“Menelik committed Jul 30, 2024
commit 60cd0a1e7766f3097c5e376a292f746723c3ba3d
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"packages/store/node-server-sdk-redis",
"packages/store/node-server-sdk-dynamodb",
"packages/telemetry/node-server-sdk-otel",
"packages/tooling/jest"
"packages/tooling/jest",
"packages/tooling/jest/example/react-native-example"
],
"private": true,
"scripts": {
Expand Down