Skip to content

Commit

Permalink
ci: showing the correct status for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yjose committed Aug 23, 2023
1 parent 6910bce commit 25a47a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
React Native Template Obytes
</h1>

![expo](https://img.shields.io/github/package-json/dependency-version/obytes/react-native-template-obytes/expo?label=expo) ![GitHub Repo stars](https://img.shields.io/github/stars/obytes/react-native-template-obytes) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/obytes/react-native-template-obytes) ![GitHub issues](https://img.shields.io/github/issues/obytes/react-native-template-obytes) ![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/obytes/react-native-template-obytes)
![expo](https://img.shields.io/github/package-json/dependency-version/obytes/react-native-template-obytes/expo?label=expo) ![react-native](https://img.shields.io/github/package-json/dependency-version/obytes/react-native-template-obytes/react-native?label=react-native) ![GitHub Repo stars](https://img.shields.io/github/stars/obytes/react-native-template-obytes) ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/obytes/react-native-template-obytes) ![GitHub issues](https://img.shields.io/github/issues/obytes/react-native-template-obytes) ![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/obytes/react-native-template-obytes)

📱 A template for your next React Native project 🚀, Made with developer experience and performance first: Expo,TypeScript,tailwindcss, Husky, Lint-Staged, react-navigation, react-query, react-hook-form, I18n.

Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
transformIgnorePatterns: [
`node_modules/(?!(?:.pnpm/)?((jest-)?react-native|@react-native(-community)?|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg))`,
],
coverageReporters: ['text', 'json-summary'],
coverageReporters: ['json-summary', ['text', { file: 'coverage.txt' }]],
reporters: [
'default',
['github-actions', { silent: false }],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"type-check": "tsc --noemit",
"lint:translations": "eslint ./src/translations/ --fix --ext .json ",
"test": "jest",
"test:ci": "mkdir -p ./coverage && pnpm run test --coverage | tee ./coverage/coverage.txt",
"test:ci": "pnpm run test --coverage",
"test:watch": "pnpm run test --watch",
"eas-build-pre-install": "./scripts/eas-pre-install",
"install-maestro": "curl -Ls 'https://get.maestro.mobile.dev' | bash",
Expand Down
2 changes: 1 addition & 1 deletion src/screens/login/login-form.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const onSubmitMock: jest.Mock<LoginFormProps['onSubmit']> = jest.fn();
describe('LoginForm Form ', () => {
it('renders correctly', async () => {
const { findByText } = render(<LoginForm />);
expect(await findByText(/Sign in/i)).not.toBeNull();
expect(await findByText(/Sign in/i)).toBeNull();
});

it('should display required error when values are empty', async () => {
Expand Down

0 comments on commit 25a47a3

Please sign in to comment.