Skip to content

Commit

Permalink
fixtests
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Dec 8, 2023
1 parent 11096e3 commit 73b7200
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions extension/test/integration/6 - test-provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,9 @@ suite('test provider tests', () => {
{ 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' }
])

vscode.workspace.updateWorkspaceFolders(0, 1)
}).timeout(20000)

test('runs tests including newly created file', async function () {
test('runs tests including newly deleted file', async function () {
// Delete test file
const testFilePath = path.join(workspacePath, 'test/bar/test3.cdc')
const originalContents = fs.readFileSync(testFilePath)
Expand Down Expand Up @@ -211,7 +209,5 @@ suite('test provider tests', () => {
{ 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' }
])

vscode.workspace.updateWorkspaceFolders(0, 1)
}).timeout(20000)
})

0 comments on commit 73b7200

Please sign in to comment.