From 3d96315545a809997289bf10658bd9e06a34e176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Seery?= Date: Mon, 11 Apr 2022 19:55:28 -0300 Subject: [PATCH] chore: updated turborepo (#3039) * chore: updated turborepo * Revert changes to turbo.json * Simplified test command * tests should run serially Co-authored-by: Fred K. Schott --- package.json | 4 ++-- packages/astro/test/0-css.test.js | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c32437d67..ab1af6b25 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "build:ci": "turbo run build:ci --no-deps --scope=astro --scope=create-astro --scope=\"@astrojs/*\"", "build:examples": "turbo run build --scope=\"@example/*\"", "dev": "turbo run dev --no-deps --no-cache --parallel --scope=astro --scope=create-astro --scope=\"@astrojs/*\"", - "test": "pnpm run test --filter astro --filter @astrojs/webapi --filter @astrojs/deno --filter @astrojs/netlify", + "test": "turbo run test --filter=!create-astro --concurrency=1", "test:match": "cd packages/astro && pnpm run test:match", - "test:templates": "pnpm run test --filter create-astro", + "test:templates": "turbo run test --filter=create-astro --concurrency=1", "test:smoke": "node scripts/smoke/index.js", "benchmark": "turbo run benchmark --scope=astro", "lint": "eslint \"packages/**/*.ts\"", diff --git a/packages/astro/test/0-css.test.js b/packages/astro/test/0-css.test.js index 9d08c1aa9..423975c97 100644 --- a/packages/astro/test/0-css.test.js +++ b/packages/astro/test/0-css.test.js @@ -17,12 +17,11 @@ describe('CSS', function () { // test HTML and CSS contents for accuracy describe('build', () => { - this.timeout(45000); // test needs a little more time in CI - let $; let bundledCSS; before(async () => { + this.timeout(45000); // test needs a little more time in CI await fixture.build(); // get bundled CSS (will be hashed, hence DOM query)