Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 518267d

Browse files
committed
test: do not use describe-level expect + describe uses sync function
1 parent 870ad0f commit 518267d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/linter-eslint-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ describe('The eslint provider for Linter', () => {
224224
})
225225
})
226226

227-
describe('when a file is not specified in .eslintignore file', async () => {
227+
describe('when a file is not specified in .eslintignore file', () => {
228228
it('will give warnings when linting the file', async () => {
229229
const tempPath = await copyFileToTempDir(path.join(paths.eslintignoreDir, 'ignored.js'))
230230
const tempDir = path.dirname(tempPath)
@@ -686,7 +686,7 @@ describe('The eslint provider for Linter', () => {
686686
})
687687
})
688688

689-
describe("registers an 'ESLint Fix' right click menu command", () => {
689+
it("registers an 'ESLint Fix' right click menu command", () => {
690690
// NOTE: Reaches into the private data of the ContextMenuManager, there is
691691
// no public method to check this though so...
692692
expect(atom.contextMenu.itemSets.some(itemSet => (

0 commit comments

Comments
 (0)