@@ -36,7 +36,7 @@ suite('Jupyter Code Helper', () => {
3636
3737 test ( 'Get Line (without any selection)' , done => {
3838 let textDocument : vscode . TextDocument ;
39- return vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
39+ vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
4040 textDocument = document ;
4141 return vscode . window . showTextDocument ( textDocument ) ;
4242 } ) . then ( editor => {
@@ -50,7 +50,7 @@ suite('Jupyter Code Helper', () => {
5050
5151 test ( 'Get Selected Text' , done => {
5252 let textDocument : vscode . TextDocument ;
53- return vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
53+ vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
5454 textDocument = document ;
5555 return vscode . window . showTextDocument ( textDocument ) ;
5656 } ) . then ( editor => {
@@ -64,7 +64,7 @@ suite('Jupyter Code Helper', () => {
6464
6565 test ( 'Get Selected Line' , done => {
6666 let textDocument : vscode . TextDocument ;
67- return vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
67+ vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
6868 textDocument = document ;
6969 return vscode . window . showTextDocument ( textDocument ) ;
7070 } ) . then ( editor => {
@@ -79,7 +79,7 @@ suite('Jupyter Code Helper', () => {
7979
8080 test ( 'Get Selected Text (multi-line)' , done => {
8181 let textDocument : vscode . TextDocument ;
82- return vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
82+ vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
8383 textDocument = document ;
8484 return vscode . window . showTextDocument ( textDocument ) ;
8585 } ) . then ( editor => {
@@ -93,7 +93,7 @@ suite('Jupyter Code Helper', () => {
9393
9494 test ( 'Get Code Block (for in)' , done => {
9595 let textDocument : vscode . TextDocument ;
96- return vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
96+ vscode . workspace . openTextDocument ( FILE_WITH_CELLS ) . then ( document => {
9797 textDocument = document ;
9898 return vscode . window . showTextDocument ( textDocument ) ;
9999 } ) . then ( editor => {
0 commit comments