Skip to content

Commit

Permalink
refactor: unify tests in test apps (#2135)
Browse files Browse the repository at this point in the history
## Description

This PR intents to unify tests used by test apps

## Changes

- moved tests to common directory
- removed duplicates

<!--

## Screenshots / GIFs

Here you can add screenshots / GIFs documenting your change.

You can add before / after section if you're changing some behavior.

### Before

### After

-->

## Test code and steps to reproduce

<!--
Please include code that can be used to test this change and short
description how this example should work.
This snippet should be as minimal as possible and ready to be pasted
into editor (don't exclude exports or remove "not important" parts of
reproduction example)
-->

## Checklist

- [ ] Included code example that can be used to test this change
- [ ] Updated TS types
- [ ] Updated documentation: <!-- For adding new props to native-stack
-->
- [ ]
https://github.com/software-mansion/react-native-screens/blob/main/guides/GUIDE_FOR_LIBRARY_AUTHORS.md
- [ ]
https://github.com/software-mansion/react-native-screens/blob/main/native-stack/README.md
- [ ]
https://github.com/software-mansion/react-native-screens/blob/main/src/types.tsx
- [ ]
https://github.com/software-mansion/react-native-screens/blob/main/src/native-stack/types.tsx
- [ ] Ensured that CI passes
  • Loading branch information
alduzy authored May 27, 2024
1 parent 4f6f974 commit b4a4924
Show file tree
Hide file tree
Showing 228 changed files with 117 additions and 9,439 deletions.
107 changes: 2 additions & 105 deletions FabricTestExample/App.js
Original file line number Diff line number Diff line change
@@ -1,106 +1,3 @@
/* eslint-disable no-unused-vars */
import React from 'react';
import App from '../apps/test-examples';

import { enableFreeze } from 'react-native-screens';

import Test42 from './src/Test42';
import Test111 from './src/Test111';
import Test263 from './src/Test263';
import Test349 from './src/Test349';
import Test364 from './src/Test364';
import Test528 from './src/Test528';
import Test550 from './src/Test550';
import Test556 from './src/Test556';
import Test564 from './src/Test564';
import Test577 from './src/Test577';
import Test593 from './src/Test593';
import Test619 from './src/Test619';
import Test624 from './src/Test624';
import Test640 from './src/Test640';
import Test642 from './src/Test642';
import Test645 from './src/Test645';
import Test648 from './src/Test648';
import Test649 from './src/Test649';
import Test654 from './src/Test654';
import Test658 from './src/Test658';
import Test662 from './src/Test662';
import Test691 from './src/Test691';
import Test702 from './src/Test702';
import Test706 from './src/Test706';
import Test713 from './src/Test713';
import Test726 from './src/Test726';
import Test748 from './src/Test748';
import Test750 from './src/Test750';
import Test758 from './src/Test758';
import Test761 from './src/Test761';
import Test779 from './src/Test779';
import Test780 from './src/Test780';
import Test791 from './src/Test791';
import Test800 from './src/Test800';
import Test817 from './src/Test817';
import Test830 from './src/Test830';
import Test831 from './src/Test831';
import Test844 from './src/Test844';
import Test852 from './src/Test852';
import Test860 from './src/Test860';
import Test861 from './src/Test861';
import Test865 from './src/Test865';
import Test881 from './src/Test881';
import Test887 from './src/Test887';
import Test898 from './src/Test898';
import Test913 from './src/Test913';
import Test999 from './src/Test999';
import Test1017 from './src/Test1017';
import Test1031 from './src/Test1031';
import Test1032 from './src/Test1032';
import Test1036 from './src/Test1036';
import Test1072 from './src/Test1072';
import Test1084 from './src/Test1084';
import Test1091 from './src/Test1091';
import Test1096 from './src/Test1096';
import Test1097 from './src/Test1097';
import Test1153 from './src/Test1153';
import Test1157 from './src/Test1157';
import Test1162 from './src/Test1162';
import Test1166 from './src/Test1166';
import Test1188 from './src/Test1188';
import Test1190 from './src/Test1190';
import TestFreeze from './src/TestFreeze';
import Test1198 from './src/Test1198';
import Test1204 from './src/Test1204';
import Test1209 from './src/Test1209';
import Test1213 from './src/Test1213';
import Test1214 from './src/Test1214';
import Test1227 from './src/Test1227';
import Test1228 from './src/Test1228';
import Test1259 from './src/Test1259';
import Test1260 from './src/Test1260';
import Test1296 from './src/Test1296';
import Test1299 from './src/Test1299';
import Test1391 from './src/Test1391';
import Test1419 from './src/Test1419';
import Test1473 from './src/Test1473';
import Test1476 from './src/Test1476';
import Test1646 from './src/Test1646';
import Test1649 from './src/Test1649';
import Test1671 from './src/Test1671';
import Test1683 from './src/Test1683';
import Test1726 from './src/Test1726';
import Test1802 from './src/Test1802';
import Test1829 from './src/Test1829';
import Test1844 from './src/Test1844';
import Test1864 from './src/Test1864';
import Test1970 from './src/Test1970';
import TestScreenAnimation from './src/TestScreenAnimation';
import Test1981 from './src/Test1981';
import Test2008 from './src/Test2008';
import Test2028 from './src/Test2028';
import Test2048 from './src/Test2048';
import Test2069 from './src/Test2069';
import Test2118 from './src/Test2118';

enableFreeze(true);

export default function App() {
return <Test42 />;
}
export default App;
54 changes: 0 additions & 54 deletions FabricTestExample/src/Test1032.tsx

This file was deleted.

118 changes: 0 additions & 118 deletions FabricTestExample/src/Test1072.tsx

This file was deleted.

95 changes: 0 additions & 95 deletions FabricTestExample/src/Test1096.tsx

This file was deleted.

Loading

0 comments on commit b4a4924

Please sign in to comment.