Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A descrição do pull request é aqui.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Checks

on:
push:
branches: [main]
branches: [main, develop]

jobs:
typecheck:
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
- name: run the prettier
run: |
yarn
yarn lint:prettier
yarn prettier

eslint:
name: ESlint
Expand All @@ -48,7 +48,7 @@ jobs:
- name: run the eslint
run: |
yarn
yarn lint:eslint
yarn eslint

status_check_result:
if: ${{ always() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests

on:
push:
branches: [main]
branches: [main, develop]

jobs:
tests:
Expand Down
6 changes: 1 addition & 5 deletions app/teste/page.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,9 @@ import '@testing-library/jest-dom';
const setup = () => render(<TestePage title="teste" />);

describe('Page', () => {
it('renders a heading', () => {
expect(setup()).toMatchSnapshot();
});

it('renders a heading', () => {
const { getByTestId } = setup();

getByTestId('Testando');
getByTestId('testando');
});
});