Skip to content

Commit 5401f65

Browse files
authored
test updates (csstools#255)
* test updates * add scripts to rewrite expects
1 parent 8bb65c2 commit 5401f65

40 files changed

Lines changed: 154 additions & 242 deletions

File tree

.github/workflows/test-in-browser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717

1818
- run: npm ci
1919
- run: npm run build --workspaces --if-present
20-
- run: npm run test:browser --workspaces --if-present
20+
- run: npm run --silent test:browser --workspaces --if-present
2121

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# CLI Tests
4949
# running "npm install" places the cli in node_modules/bin
5050
- run: npm install --ignore-scripts
51-
- run: npm run test:cli --workspace="@csstools/postcss-base-plugin"
51+
- run: npm run --silent test:cli --workspace="@csstools/postcss-base-plugin"
5252

5353
# Run e2e tests
5454
test_e2e:
@@ -67,10 +67,10 @@ jobs:
6767
cd e2e/webpack/bundle-through
6868
npm install
6969
npm run build
70-
npm run test
70+
npm run --silent test
7171
7272
# Deno compatibility
7373
- uses: denoland/setup-deno@v1
7474
with:
7575
deno-version: v1.x.x
76-
- run: npm run test:deno --workspaces --if-present
76+
- run: npm run --silent test:deno --workspaces --if-present

cli/csstools-cli/test/cli/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ csstools-cli css-has-pseudo ./test/cli/basic.css --output ./test/cli/basic.resul
77

88
# Check result
99
git --no-pager diff --no-index --word-diff ./test/cli/basic.expect.css ./test/cli/basic.result.css
10+
11+
echo "pass csstools-cli"

0 commit comments

Comments
 (0)