diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..37375e6 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1 @@ +A descrição do pull request é aqui. diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3e78a7c..c06e2cb 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,7 @@ name: Checks on: push: - branches: [main] + branches: [main, develop] jobs: typecheck: @@ -33,7 +33,7 @@ jobs: - name: run the prettier run: | yarn - yarn lint:prettier + yarn prettier eslint: name: ESlint @@ -48,7 +48,7 @@ jobs: - name: run the eslint run: | yarn - yarn lint:eslint + yarn eslint status_check_result: if: ${{ always() }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9f5f169..bbb0134 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: Tests on: push: - branches: [main] + branches: [main, develop] jobs: tests: diff --git a/app/teste/page.spec.tsx b/app/teste/page.spec.tsx index 556a1fe..2d2c48e 100644 --- a/app/teste/page.spec.tsx +++ b/app/teste/page.spec.tsx @@ -6,13 +6,9 @@ import '@testing-library/jest-dom'; const setup = () => render(); describe('Page', () => { - it('renders a heading', () => { - expect(setup()).toMatchSnapshot(); - }); - it('renders a heading', () => { const { getByTestId } = setup(); - getByTestId('Testando'); + getByTestId('testando'); }); });