Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Mar 30, 2020
1 parent b6b4380 commit e65e3ac
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.test.js
@@ -1,6 +1,6 @@
'use strict'

const { test } = require('ava')
const test = require('ava')
const execa = require('execa')

test('--help', async (t) => {
Expand Down
5 changes: 3 additions & 2 deletions lib/create-library.test.js
Expand Up @@ -81,11 +81,12 @@ const fixtures = [
}
]

fixtures.forEach((fixture) => {
fixtures.forEach((fixture, index) => {
test.serial(
`creating "${fixture.name}" using ${fixture.manager}`,
`${index}) creating "${fixture.name}" using ${fixture.manager}`,
async (t) => {
console.log(`creating "${fixture.name}" using ${fixture.manager}...`)
t.timeout(10 * 60 * 1000)
let ret

// ensure library is created successfully
Expand Down
2 changes: 1 addition & 1 deletion lib/prompt-library-params.test.js
@@ -1,6 +1,6 @@
'use strict'

const { test } = require('ava')
const test = require('ava')

const promptLibraryParams = require('./prompt-library-params')

Expand Down
8 changes: 8 additions & 0 deletions package.json
Expand Up @@ -50,5 +50,13 @@
"ava": "^3.5.2",
"rmfr": "^2.0.0",
"standard": "^14.3.3"
},
"ava": {
"failFast": true,
"timeout": "10m",
"files": [
"index.test.js",
"lib/**/*.test.js"
]
}
}
2 changes: 1 addition & 1 deletion template/typescript/src/index.test.tsx
@@ -1,4 +1,4 @@
import { ExampleComponent } from './'
import { ExampleComponent } from '.'

describe('ExampleComponent', () => {
it('is truthy', () => {
Expand Down

0 comments on commit e65e3ac

Please sign in to comment.