diff options
Diffstat (limited to 'spec/frontend_integration/ide/user_opens_ide_spec.js')
-rw-r--r-- | spec/frontend_integration/ide/user_opens_ide_spec.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/frontend_integration/ide/user_opens_ide_spec.js b/spec/frontend_integration/ide/user_opens_ide_spec.js index 552888f04a5..2f89b3c0612 100644 --- a/spec/frontend_integration/ide/user_opens_ide_spec.js +++ b/spec/frontend_integration/ide/user_opens_ide_spec.js @@ -20,11 +20,10 @@ describe('IDE: User opens IDE', () => { afterEach(() => { vm.$destroy(); - vm = null; resetHTMLFixture(); }); - it('shows loading indicator while the IDE is loading', async () => { + it('shows loading indicator while the IDE is loading', () => { vm = startWebIDE(container); expect(container.querySelectorAll('.multi-file-loading-container')).toHaveLength(3); @@ -53,7 +52,7 @@ describe('IDE: User opens IDE', () => { await screen.findByText('README'); // wait for file tree to load }); - it('shows a list of files in the left sidebar', async () => { + it('shows a list of files in the left sidebar', () => { expect(ideHelper.getFilesList()).toEqual( expect.arrayContaining(['README', 'LICENSE', 'CONTRIBUTING.md']), ); |