diff --git a/tests/command.dev.test.js b/tests/command.dev.test.js index ec0c7893e0d..6c70b7e4466 100644 --- a/tests/command.dev.test.js +++ b/tests/command.dev.test.js @@ -4,7 +4,8 @@ const http = require('http') const path = require('path') const process = require('process') -const test = require('ava') +// eslint-disable-next-line ava/use-test +const avaTest = require('ava') const dotProp = require('dot-prop') const FormData = require('form-data') const jwt = require('jsonwebtoken') @@ -14,6 +15,8 @@ const { withDevServer } = require('./utils/dev-server') const { startExternalServer } = require('./utils/external-server') const { withSiteBuilder } = require('./utils/site-builder') +const test = process.env.CI === 'true' ? avaTest.serial.bind(avaTest) : avaTest + const testMatrix = [ { args: [] },