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

Commit e65e3ac

Browse files
CI fixes
1 parent b6b4380 commit e65e3ac

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

index.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const { test } = require('ava')
3+
const test = require('ava')
44
const execa = require('execa')
55

66
test('--help', async (t) => {

lib/create-library.test.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,12 @@ const fixtures = [
8181
}
8282
]
8383

84-
fixtures.forEach((fixture) => {
84+
fixtures.forEach((fixture, index) => {
8585
test.serial(
86-
`creating "${fixture.name}" using ${fixture.manager}`,
86+
`${index}) creating "${fixture.name}" using ${fixture.manager}`,
8787
async (t) => {
8888
console.log(`creating "${fixture.name}" using ${fixture.manager}...`)
89+
t.timeout(10 * 60 * 1000)
8990
let ret
9091

9192
// ensure library is created successfully

lib/prompt-library-params.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const { test } = require('ava')
3+
const test = require('ava')
44

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

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,13 @@
5050
"ava": "^3.5.2",
5151
"rmfr": "^2.0.0",
5252
"standard": "^14.3.3"
53+
},
54+
"ava": {
55+
"failFast": true,
56+
"timeout": "10m",
57+
"files": [
58+
"index.test.js",
59+
"lib/**/*.test.js"
60+
]
5361
}
5462
}

template/typescript/src/index.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ExampleComponent } from './'
1+
import { ExampleComponent } from '.'
22

33
describe('ExampleComponent', () => {
44
it('is truthy', () => {

0 commit comments

Comments
 (0)