Skip to content

Commit

Permalink
chore: Remove redundant console.log (#239)
Browse files Browse the repository at this point in the history
* chore: Remove redundant console.log

* remove useless file

* fix bundle script
  • Loading branch information
tianfeng92 authored Aug 19, 2024
1 parent 62ece48 commit 48f7cce
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 80 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: npm run build

- name: Unit Test
run: npm run unit-test
run: npm run test

- name: Integration Test
run: npm run integration-test
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run unit-test
npm run test
5 changes: 0 additions & 5 deletions bin/testcafe

This file was deleted.

3 changes: 0 additions & 3 deletions package-lock.json

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

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
"author": "<devx@saucelabs.com>",
"license": "MIT",
"private": true,
"bin": "./bin/testcafe",
"main": "lib/console-wrapper.js",
"main": "lib/testcafe-runner.js",
"scripts": {
"build": "tsc && cp src/sauce-testcafe-config.cjs lib/",
"test": "node lib/console-wrapper.js",
"test": "jest --env node",
"lint": "prettier --check '**/*.{js,ts,mjs,cjs}' && eslint .",
"fmt": "prettier --write '**/*.{js,ts,mjs,cjs}'",
"unit-test": "jest --env node",
"integration-test": "bash ./tests/run.sh"
},
"keywords": [
Expand Down
1 change: 0 additions & 1 deletion scripts/bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ rm -rf ./bundle/
mkdir ./bundle/
mkdir -p ./bundle/scripts
cp -r ./src/ ./bundle/src/
cp -r ./bin/ bundle/bin/
cp package.json bundle/package.json
cp package-lock.json bundle/package-lock.json
cp tsconfig.json bundle/tsconfig.json
Expand Down
65 changes: 0 additions & 65 deletions src/console-wrapper.ts

This file was deleted.

0 comments on commit 48f7cce

Please sign in to comment.