diff options
author | 2022-04-11 19:55:28 -0300 | |
---|---|---|
committer | 2022-04-11 15:55:28 -0700 | |
commit | 3d96315545a809997289bf10658bd9e06a34e176 (patch) | |
tree | 781d8e2b3df19262573658ba618d11629752a710 | |
parent | 9f248b0563828db0e01e685aac177eaf8107906e (diff) | |
download | astro-3d96315545a809997289bf10658bd9e06a34e176.tar.gz astro-3d96315545a809997289bf10658bd9e06a34e176.tar.zst astro-3d96315545a809997289bf10658bd9e06a34e176.zip |
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 <fkschott@gmail.com>
-rw-r--r-- | package.json | 4 | ||||
-rw-r--r-- | 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) |