Skip to content

Commit

Permalink
fix: tests (#10)
Browse files Browse the repository at this point in the history
* chore: add typescript and pr check

* fix: script name in workflow

* fix: tests

* fix: test name

---------

Co-authored-by: psmyrdek <[email protected]>
  • Loading branch information
przeprogramowani and psmyrdek authored Dec 1, 2023
1 parent 4905784 commit d9ccad5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tasks/2023-11-26/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
import { exampleFunction } from "."

test('should return 2', () => {
exampleFunction()
expect(exampleFunction()).toBe(2)
})
4 changes: 2 additions & 2 deletions tasks/2023-11-27/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tutaj skopiuj testy dla zadania. Uruchom je poleceniem `npm test`
import { exampleFunction } from "."

test('should return 2', () => {
exampleFunction()
test('should return 4', () => {
expect(exampleFunction()).toBe(4)
})

0 comments on commit d9ccad5

Please sign in to comment.