Skip to content

Commit

Permalink
test: increase codemods timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Oct 17, 2023
1 parent 9ecf151 commit c304024
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"index:commands": "node --loader=ts-node/esm toolkit/main.js index build/commands"
},
"devDependencies": {
"@adonisjs/assembler": "^6.1.3-24",
"@adonisjs/assembler": "^6.1.3-25",
"@adonisjs/eslint-config": "^1.1.8",
"@adonisjs/prettier-config": "^1.1.8",
"@adonisjs/tsconfig": "^1.1.8",
Expand Down Expand Up @@ -141,7 +141,7 @@
"youch-terminal": "^2.2.3"
},
"peerDependencies": {
"@adonisjs/assembler": "^6.1.3-24",
"@adonisjs/assembler": "^6.1.3-25",
"@vinejs/vine": "^1.6.0",
"argon2": "^0.31.1",
"bcrypt": "^5.1.1",
Expand Down
12 changes: 9 additions & 3 deletions tests/ace/codemods.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import { test } from '@japa/runner'
import { Codemods } from '../../modules/ace/codemods.js'
import { AceFactory } from '../../factories/core/ace.js'

test.group('Configure command | environment variables', () => {
test.group('Codemods | environment variables', (group) => {
group.tap((t) => t.timeout(60 * 1000))

test('define env variables', async ({ assert, fs }) => {
const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => import(filePath),
Expand Down Expand Up @@ -90,7 +92,9 @@ test.group('Configure command | environment variables', () => {
})
})

test.group('Configure command | rcFile', () => {
test.group('Codemods | rcFile', (group) => {
group.tap((t) => t.timeout(60 * 1000))

test('update rcfile', async ({ assert, fs }) => {
const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => import(filePath),
Expand Down Expand Up @@ -120,7 +124,9 @@ test.group('Configure command | rcFile', () => {
})
})

test.group('Configure command | registerMiddleware', () => {
test.group('Codemods | registerMiddleware', (group) => {
group.tap((t) => t.timeout(60 * 1000))

test('register middleware', async ({ assert, fs }) => {
const ace = await new AceFactory().make(fs.baseUrl, {
importer: (filePath) => import(filePath),
Expand Down

0 comments on commit c304024

Please sign in to comment.