Skip to content

Commit

Permalink
Merge pull request #1259 from tonyhallett/correct_not_running_tests
Browse files Browse the repository at this point in the history
test: removed async from describes
  • Loading branch information
kulshekhar committed Oct 14, 2019
2 parents 4b1311b + a4afc3d commit 91b36e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cli/cli.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ afterEach(() => {
mockedProcess = undefined
})

describe('cli', async () => {
describe('cli', () => {
it('should output usage', async () => {
expect.assertions(2)
await expect(runCli()).resolves.toMatchInlineSnapshot(`
Expand Down Expand Up @@ -105,9 +105,9 @@ Example:
})
})

describe('config', async () => {
describe('config', () => {
// briefly tested, see header comment in `config/init.ts`
describe('init', async () => {
describe('init', () => {
const noOption = ['config:init']
const fullOptions = [
...noOption,
Expand Down Expand Up @@ -256,7 +256,7 @@ Options:
})
}) // init

describe('migrate', async () => {
describe('migrate', () => {
const pkgPaths = {
_id: 0,
_cfgId: 0,
Expand Down

0 comments on commit 91b36e4

Please sign in to comment.