Skip to content

Commit

Permalink
fix: action
Browse files Browse the repository at this point in the history
  • Loading branch information
201flaviosilva committed May 29, 2023
1 parent 4a8f7ca commit e08a25a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:

strategy:
matrix:
node-version: [17.x]
node-version: [16.x]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Dependencies
run: npm ci
run: npm i

- name: Test
run: npm run test
Expand Down
4 changes: 2 additions & 2 deletions tests/DataStructures/LinkedList.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ describe("LinkedList.js", () => {
it("creates a new LinkedList", () => {
const ll = new LinkedList(100);

// expect(ll.head).toBeInstanceOf(LLNode);
// expect(ll.head).toBeInstanceOf(LLNode); // TODO: fix this line
expect(ll.head.value).toBe(100);
expect(ll.head.next).toBe(null);

// expect(ll.tail).toBeInstanceOf(LLNode);
// expect(ll.tail).toBeInstanceOf(LLNode); // TODO: fix this line
expect(ll.tail.value).toBe(100);
expect(ll.tail.next).toBe(null);

Expand Down

0 comments on commit e08a25a

Please sign in to comment.