Use single quotes :P
This commit is contained in:
@ -1,17 +1,17 @@
|
||||
const request = require("supertest");
|
||||
const request = require('supertest');
|
||||
|
||||
const createServer = require("../createServer");
|
||||
const createServer = require('../createServer');
|
||||
|
||||
describe("The /_publicKey endpoint", () => {
|
||||
describe('The /_publicKey endpoint', () => {
|
||||
let server;
|
||||
beforeEach(() => {
|
||||
server = createServer();
|
||||
});
|
||||
|
||||
describe("GET /_publicKey", () => {
|
||||
it("echoes the public key", done => {
|
||||
describe('GET /_publicKey', () => {
|
||||
it('echoes the public key', done => {
|
||||
request(server)
|
||||
.get("/_publicKey")
|
||||
.get('/_publicKey')
|
||||
.end((err, res) => {
|
||||
expect(res.text).toMatch(/PUBLIC KEY/);
|
||||
done();
|
||||
|
Reference in New Issue
Block a user