Skip to content

Commit

Permalink
test using servlet resource
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbysunil14 committed Dec 12, 2024
1 parent 5b16dd4 commit 5c2eb25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/GradleSingleModJakartaLSTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ describe('LSP4Jakarta LS test for snippet test', () => {
let editor: TextEditor;

it('check if correct code is inserted when rest_class snippet is triggered', async() => {
await VSBrowser.instance.openResources(path.join(utils.getGradleProjectPath(), "src", "main", "java", "test", "gradle", "liberty", "web", "app", "SystemResource.java"));
await VSBrowser.instance.openResources(path.join(utils.getGradleProjectPath(), "src", "main", "java", "test", "gradle", "liberty", "web", "app", "HelloServlet.java"));

editor = await new EditorView().openEditor('SystemResource.java') as TextEditor;
editor = await new EditorView().openEditor('HelloServlet.java') as TextEditor;

const textPressent = await editor.getText();
if(textPressent.length > 0){
Expand Down

0 comments on commit 5c2eb25

Please sign in to comment.