Download pool/shard007/JavaScript/0044107_test.cards.js from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 981 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044107_test.cards.js
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard007/JavaScript/0044107_test.cards.js
-
curl -L -o 0044107_test.cards.js https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard007/JavaScript/0044107_test.cards.js
981 Bytes
| var supertest = require('supertest'); | |
| var app = require('../../app'); | |
| describe('Get all cards', () => { | |
| it('should not be accessible if not authorised', (done) => { | |
| supertest(app) | |
| .get('/cards/all') | |
| .expect(401) | |
| .end(done); | |
| }); | |
| }); | |
| describe('Get card by Id', () => { | |
| it('should not be accessible if not authorised', (done) => { | |
| supertest(app) | |
| .get('/cards/1') | |
| .expect(401) | |
| .end(done); | |
| }); | |
| }); | |
| describe('Delete card', () => { | |
| it('should not be accessible if not authorised', (done) => { | |
| supertest(app) | |
| .delete('/cards/1') | |
| .expect(401) | |
| .end(done); | |
| }); | |
| }); | |
| describe('Update card', () => { | |
| it('should not be accessible if not authorised', (done) => { | |
| supertest(app) | |
| .put('/cards/1') | |
| .expect(401) | |
| .end(done); | |
| }); | |
| }); | |
| describe('Create card', () => { | |
| it('should not be accessible if not authorised', (done) => { | |
| supertest(app) | |
| .post('/cards/create') | |
| .expect(401) | |
| .end(done); | |
| }); | |
| }); | |