Skip to content

Commit

Permalink
Revert changes in typescript unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Manvi-Agrawal committed Jun 8, 2024
1 parent 031b110 commit 73eb008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions npm/qsharp/test/basics.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,14 +650,14 @@ test("language service in notebook", async () => {
});

await languageService.updateNotebookDocument("notebook.ipynb", 1, {}, [
{ uri: "cell1", version: 1, code: "function Main() : Unit {}" },
{ uri: "cell1", version: 1, code: "operation Main() : Unit {}" },
{ uri: "cell2", version: 1, code: "Foo()" },
]);

// Above document should have generated a resolve error.

await languageService.updateNotebookDocument("notebook.ipynb", 2, {}, [
{ uri: "cell1", version: 2, code: "function Main() : Unit {}" },
{ uri: "cell1", version: 2, code: "operation Main() : Unit {}" },
{ uri: "cell2", version: 2, code: "Main()" },
]);

Expand Down

0 comments on commit 73eb008

Please sign in to comment.