Skip to content

Commit

Permalink
Merge pull request #23 from AlanFnz/feature/20_hold-to-record-voice-n…
Browse files Browse the repository at this point in the history
…ote_phase-2

feat: hold to record voice note phase 2
  • Loading branch information
AlanFnz authored Dec 14, 2024
2 parents 64b6b47 + 63718f3 commit bbc87c1
Show file tree
Hide file tree
Showing 82 changed files with 1,796 additions and 1,479 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ module.exports = {
process: 'readonly',
global: 'readonly',
},
};
}
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Clear Jest Cache
run: yarn jest --clearCache

- name: Run ESLint
run: yarn lint

Expand Down
3 changes: 2 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
semi: false,
arrowParens: 'avoid',
bracketSameLine: true,
bracketSpacing: true,
singleQuote: true,
trailingComma: 'all',
};
}
2 changes: 1 addition & 1 deletion .yarn/releases/yarn-3.6.4.cjs

Large diffs are not rendered by default.

37 changes: 22 additions & 15 deletions App.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
import React from 'react';
import Toast from 'react-native-toast-message';
import Navigation from '@navigation/index';
import AppInitializer from '@root/AppInitializer';
import toastConfig from '@config/toastConfig';
import { Provider as ReduxProvider } from 'react-redux';
import { store } from '@store/index';
import React from 'react'
import { Provider as ReduxProvider } from 'react-redux'
import { SafeAreaProvider } from 'react-native-safe-area-context'
import Toast from 'react-native-toast-message'

import Navigation from '@navigation/index'
import { FolderSelectionProvider } from '@context/folder-selection'
import { store } from '@store/index'
import toastConfig from '@config/toast.config'
import AppInitializer from '@root/app-initializer'

const App: React.FC = () => {
return (
<ReduxProvider store={store}>
<AppInitializer />
<Navigation />
<Toast config={toastConfig} />
</ReduxProvider>
);
};
<SafeAreaProvider>
<ReduxProvider store={store}>
<FolderSelectionProvider>
<AppInitializer />
<Navigation />
<Toast config={toastConfig} />
</FolderSelectionProvider>
</ReduxProvider>
</SafeAreaProvider>
)
}

export default App;
export default App
19 changes: 0 additions & 19 deletions AppInitializer.tsx

This file was deleted.

20 changes: 10 additions & 10 deletions __tests__/App.test.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import 'react-native';
import React from 'react';
import App from '../App';
import { act } from 'react-test-renderer';
import renderer from 'react-test-renderer';
import 'react-native'
import React from 'react'
import App from '../App'
import { act } from 'react-test-renderer'
import renderer from 'react-test-renderer'

it('renders correctly', async () => {
let tree;
let tree

await act(async () => {
tree = renderer.create(<App />);
});
tree = renderer.create(<App />)
})

expect(tree).toBeTruthy();
});
expect(tree).toBeTruthy()
})
54 changes: 0 additions & 54 deletions __tests__/Header.test.tsx

This file was deleted.

89 changes: 0 additions & 89 deletions __tests__/HomeScreen.test.tsx

This file was deleted.

44 changes: 0 additions & 44 deletions __tests__/LoginScreen.test.tsx

This file was deleted.

Loading

0 comments on commit bbc87c1

Please sign in to comment.