diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-05-31 19:11:57 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-06-03 17:47:44 -0700 |
| commit | 0f5555b92915b175a685a24ade9276d170ae37f5 (patch) | |
| tree | 78ae08b1aaa0263d012ca4037028a21728179bd6 /test/api.test.ts | |
| parent | 926bebb122ba4226b65088bd0d2f964c8d9e9f8c (diff) | |
| download | chessh-bot-0f5555b92915b175a685a24ade9276d170ae37f5.tar.gz chessh-bot-0f5555b92915b175a685a24ade9276d170ae37f5.zip | |
move to docker compose, fuck vercel
remove other unnecesaary stuff
Diffstat (limited to 'test/api.test.ts')
| -rw-r--r-- | test/api.test.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/api.test.ts b/test/api.test.ts deleted file mode 100644 index 2e94e6d..0000000 --- a/test/api.test.ts +++ /dev/null @@ -1,25 +0,0 @@ -import request from 'supertest'; - -import app from '../src/app'; - -describe('GET /api/v1', () => { - it('responds with a json message', (done) => { - request(app) - .get('/api/v1') - .set('Accept', 'application/json') - .expect('Content-Type', /json/) - .expect(200, { - message: 'API - 👋🌎🌍🌏', - }, done); - }); -}); - -describe('GET /api/v1/emojis', () => { - it('responds with a json message', (done) => { - request(app) - .get('/api/v1/emojis') - .set('Accept', 'application/json') - .expect('Content-Type', /json/) - .expect(200, ['😀', '😳', '🙄'], done); - }); -}); |
