Spaces:
Sleeping
Sleeping
Download tests/api-tester/lib/Assert.js from AZILS/puter-deploy: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/tests/api-tester/lib/Assert.js
- Command line
-
hf download hf://spaces/AZILS/puter-deploy/tests/api-tester/lib/Assert.js
-
curl -L -o Assert.js https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/tests/api-tester/lib/Assert.js
228 Bytes
| module.exports = class Assert { | |
| equal (expected, actual) { | |
| this.assert(expected === actual); | |
| } | |
| assert (b) { | |
| if ( ! b ) { | |
| throw new Error('assertion failed'); | |
| } | |
| } | |
| } | |