[ci] format
This commit is contained in:
parent
9869f2f6d8
commit
cebba86593
2 changed files with 5 additions and 5 deletions
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
|
@ -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!!!!!!!!!!');
|
||||
});
|
||||
})
|
||||
})
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue