Remove secret key

This commit is contained in:
Michael Jackson
2019-07-09 11:19:38 -07:00
parent c06657d9a7
commit d5022035c1
9 changed files with 2 additions and 98 deletions

View File

@ -1,21 +0,0 @@
import request from 'supertest';
import createServer from '../createServer';
describe('The /_publicKey endpoint', () => {
let server;
beforeEach(() => {
server = createServer();
});
describe('GET /_publicKey', () => {
it('echoes the public key', done => {
request(server)
.get('/_publicKey')
.end((err, res) => {
expect(res.text).toMatch(/PUBLIC KEY/);
done();
});
});
});
});

View File

@ -1,21 +0,0 @@
import request from 'supertest';
import createServer from '../createServer';
describe('The /api/publicKey endpoint', () => {
let server;
beforeEach(() => {
server = createServer();
});
describe('GET /api/publicKey', () => {
it('echoes the public key', done => {
request(server)
.get('/api/publicKey')
.end((err, res) => {
expect(res.text).toMatch(/PUBLIC KEY/);
done();
});
});
});
});