Skip to content

Commit

Permalink
chore: make tests asynchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed Dec 21, 2019
1 parent 0d7f3fc commit be78616
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/suite/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ async function formatSameAsPrettier(file: string) {
}

suite('SCSS Formatter Extension Tests', () => {
test('it should activate the extension', () => activateFormatter());
test('it should show the output console', () => showOutputConsole());
test('it should fromat CSS', () => formatSameAsPrettier('./fixtures/ugly.css'));
test('it should format SCSS', () => formatSameAsPrettier('./fixtures/ugly.scss'));
test('it should clear the logs from output console', () => clearOutput());
test('it should activate the extension', async () => await activateFormatter());
test('it should show the output console', async () => await showOutputConsole());
test('it should fromat CSS', async () => await formatSameAsPrettier('./fixtures/ugly.css'));
test('it should format SCSS', async () => await formatSameAsPrettier('./fixtures/ugly.scss'));
test('it should clear the logs from output console', async () => await clearOutput());
});

0 comments on commit be78616

Please sign in to comment.