Skip to content

Commit

Permalink
Simplify symbolic link fix for cds-test
Browse files Browse the repository at this point in the history
  • Loading branch information
BobdenOs committed Sep 17, 2024
1 parent a4447bc commit 5a36a5e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"CHANGELOG.md"
],
"scripts": {
"test": "npm start && cds-test $(find -L test -type f -regex .*\\\\.test\\\\.js)",
"test": "npm start && cds-test $(../test/find)",
"test:remote": "cds-test",
"start": "npm run start:hce || npm run start:hxe",
"start:hce": "cd ./tools/docker/hce/ && ./start.sh",
Expand Down
2 changes: 1 addition & 1 deletion postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"CHANGELOG.md"
],
"scripts": {
"test": "npm start && cds-test $(find -L test -type f -regex .*\\.test\\.js) --skip toMatchSnapshot",
"test": "npm start && cds-test --skip toMatchSnapshot $(../test/find)",
"start": "docker compose -f pg-stack.yml up -d"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"CHANGELOG.md"
],
"scripts": {
"test": "cds-test --skip toMatchSnapshot $(find -L test -type f -regex .*\\\\.test\\\\.js)"
"test": "cds-test --skip toMatchSnapshot $(../test/find)"
},
"dependencies": {
"@cap-js/db-service": "^1.9.0",
Expand Down
2 changes: 2 additions & 0 deletions test/find
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# /bin/bash
find -L test -type f -regex .*$npm_config_file\\.test\\.js

0 comments on commit 5a36a5e

Please sign in to comment.