diff --git a/packages/integrations/node/test/api-route.test.js b/packages/integrations/node/test/api-route.test.js index 39ba10dbf..7fbd95776 100644 --- a/packages/integrations/node/test/api-route.test.js +++ b/packages/integrations/node/test/api-route.test.js @@ -25,13 +25,13 @@ describe('API routes', () => { handler(req, res); req.send(JSON.stringify({ id: 2 })); - + let [buffer] = await done; let json = JSON.parse(buffer.toString('utf-8')); expect(json.length).to.equal(1); - + expect(json[0].name).to.equal('Broccoli Soup'); }); diff --git a/packages/integrations/node/test/node-middleware.test.js b/packages/integrations/node/test/node-middleware.test.js index 8a2f947d5..e96d29ed4 100644 --- a/packages/integrations/node/test/node-middleware.test.js +++ b/packages/integrations/node/test/node-middleware.test.js @@ -1,5 +1,5 @@ import nodejs from '../dist/index.js'; -import { loadFixture , createRequestAndResponse} from './test-utils.js'; +import { loadFixture, createRequestAndResponse } from './test-utils.js'; import { expect } from 'chai'; import * as cheerio from 'cheerio'; @@ -33,5 +33,5 @@ describe('test 404 cant load', () => { const h1 = $('h1'); expect(h1.text()).to.equal('404!!!!!!!!!!'); }); - }) -}) + }); +});