Skip to content

Commit

Permalink
Blocked build with failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wholteza committed Jun 28, 2023
1 parent f75b501 commit b3a45c6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
- run: npm ci && npm run test && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
- run: npm ci && npm run test && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
17 changes: 17 additions & 0 deletions src/types/receipt-information.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { describe, expect, test } from "@jest/globals";
const ClassName = "ReceiptInformation";

describe(`${ClassName} - is currently broken and needs to be tested`, () => {
test("total before vat is being calculated incorrectly", () => {
expect(true).toBeFalsy();
});
test("total vat is being calculated incorrectly", () => {
expect(true).toBeFalsy();
});
test("different vats are being calculated incorrectly", () => {
expect(true).toBeFalsy();
});
test("logic needs to be broken out and be testable", () => {
expect(true).toBeFalsy();
});
});

0 comments on commit b3a45c6

Please sign in to comment.