Skip to content

Commit

Permalink
chore(deps): update vitest monorepo to ^0.29.0 (#5508)
Browse files Browse the repository at this point in the history
* chore(deps): update vitest monorepo to ^0.29.0

* chore: remove obsolete arg

* chore: fix timeout

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Tschinder <231804+danez@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 27, 2023
1 parent 046e6b9 commit 2b80cdc
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 92 deletions.
154 changes: 67 additions & 87 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"test:dev:vitest": "vitest run tests/unit/ && vitest run tests/integration",
"test:ci:ava:integration": "c8 -r json ava --concurrency 1 --no-worker-threads tests/integration/",
"test:ci:vitest:unit": "vitest run --coverage tests/unit/",
"test:ci:vitest:integration": "vitest run --coverage --no-threads tests/integration/",
"test:ci:vitest:integration": "vitest run --coverage tests/integration/",
"test:affected": "node ./tools/affected-test.mjs",
"e2e": "node ./tools/e2e/run.mjs",
"docs": "node ./site/scripts/docs.mjs",
Expand Down Expand Up @@ -185,7 +185,7 @@
"devDependencies": {
"@babel/preset-react": "^7.12.13",
"@netlify/eslint-config-node": "^7.0.0",
"@vitest/coverage-c8": "^0.28.0",
"@vitest/coverage-c8": "^0.29.0",
"ava": "^4.0.0",
"c8": "^7.11.0",
"cpy": "^9.0.1",
Expand All @@ -209,7 +209,7 @@
"typescript": "^4.4.4",
"verdaccio": "^5.10.2",
"vite": "^4.0.0",
"vitest": "^0.28.0"
"vitest": "^0.29.0"
},
"ava": {
"files": [
Expand Down
5 changes: 3 additions & 2 deletions tests/integration/utils/fixture.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import callCli from './call-cli.cjs'
import { startDevServer } from './dev-server.cjs'

const FIXTURES_DIRECTORY = fileURLToPath(new URL('../__fixtures__/', import.meta.url))
const HOOK_TIMEOUT = 30_000

/**
* @param {Object} options
Expand All @@ -29,7 +30,7 @@ export const setupFixtureTests = async function (options, factory) {
beforeAll(async () => {
if (options.fixture) fixture = await Fixture.create(options.fixture)
if (options.devServer) devServer = await startDevServer({ cwd: fixture.directory })
})
}, HOOK_TIMEOUT)

beforeEach((context) => {
if (fixture) context.fixture = fixture
Expand All @@ -39,7 +40,7 @@ export const setupFixtureTests = async function (options, factory) {
afterAll(async () => {
if (devServer) await devServer.close()
if (fixture) await fixture.cleanup()
})
}, HOOK_TIMEOUT)

await factory()
}
Expand Down

1 comment on commit 2b80cdc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Package size: 263 MB

Please sign in to comment.