mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
test: Remove solid-crud-tests.
They are currently not running properly.
This commit is contained in:
parent
d7e189cdd8
commit
3bd82271b4
2
.gitignore
vendored
2
.gitignore
vendored
@ -14,5 +14,3 @@ tsconfig.tsbuildinfo
|
||||
!test/eslintrc.js
|
||||
|
||||
coverage
|
||||
|
||||
test/tmp
|
||||
|
@ -49,7 +49,6 @@
|
||||
"test": "npm run jest",
|
||||
"test:deploy": "test/deploy/validate-package.sh",
|
||||
"test:integration": "jest --coverageThreshold '{}' test/integration",
|
||||
"test:system": "test/system/run-solid-test-suite.sh",
|
||||
"test:unit": "jest test/unit",
|
||||
"validate": "componentsjs-compile-config urn:solid-server:default -c config/config-default.json -f > /dev/null",
|
||||
"version": "manual-git-changelog onversion",
|
||||
|
@ -1,25 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Start server
|
||||
npm start &
|
||||
PID=$!
|
||||
|
||||
# Initialize tests
|
||||
pushd test/tmp
|
||||
git clone https://github.com/solid/solid-crud-tests
|
||||
cd solid-crud-tests
|
||||
git checkout v0.3.0
|
||||
npm ci
|
||||
|
||||
# Run tests
|
||||
export SERVER_ROOT=http://localhost:3000
|
||||
export ALICE_WEBID_DOC=$SERVER_ROOT/profile.ttl
|
||||
export ALICE_WEBID=$ALICE_WEBID#me
|
||||
curl -X PUT $ALICE_WEBID_DOC -d '<#me> <http://www.w3.org/ns/pim/space#storage> </>.'
|
||||
npm run jest
|
||||
RESULT=$?
|
||||
|
||||
# Clean up
|
||||
kill $PID
|
||||
popd
|
||||
exit $RESULT
|
Loading…
x
Reference in New Issue
Block a user