Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Dec 8, 2023
1 parent 73b7200 commit 29af2f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions extension/test/integration/6 - test-provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,13 @@ suite('test provider tests', () => {
passedTests.sort((a, b) => a.filepath.localeCompare(b.filepath))
failedTests.sort((a, b) => a.filepath.localeCompare(b.filepath))

assert.strictEqual(passedTests.length + failedTests.length, 4)
assert.strictEqual(passedTests.length + failedTests.length, 3)
assert.deepStrictEqual(passedTests, [
{ filepath: path.join(workspacePath, 'test/bar/test2.cdc'), id: ':testPassing' },
{ filepath: path.join(workspacePath, 'test/test1.cdc'), id: ':testPassing' }
])
assert.deepStrictEqual(failedTests, [
{ filepath: path.join(workspacePath, 'test/bar/test2.cdc'), id: ':testFailing', message: 'FAIL: Execution failed:\nerror: assertion failed\n --> 7465737400000000000000000000000000000000000000000000000000000000:8:2\n' },
{ filepath: path.join(workspacePath, 'test/bar/test3.cdc'), id: ':testFailing', message: 'FAIL: Execution failed:\nerror: assertion failed\n --> 7465737400000000000000000000000000000000000000000000000000000000:4:2\n' }
{ filepath: path.join(workspacePath, 'test/bar/test2.cdc'), id: ':testFailing', message: 'FAIL: Execution failed:\nerror: assertion failed\n --> 7465737400000000000000000000000000000000000000000000000000000000:8:2\n' }
])
}).timeout(20000)
})

0 comments on commit 29af2f1

Please sign in to comment.