Skip to content

Commit 077c6ed

Browse files
authored
deps++ (#97)
1 parent 334fbe7 commit 077c6ed

File tree

3 files changed

+4267
-4049
lines changed

3 files changed

+4267
-4049
lines changed

__tests__/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ describe('Compress', () => {
6868

6969
it('should compress JSON body', (done) => {
7070
const app = new Koa()
71-
const jsonBody = { 'status': 200, 'message': 'ok', 'data': string }
71+
const jsonBody = { status: 200, message: 'ok', data: string }
7272

7373
app.use(compress())
7474
app.use((ctx, next) => {
@@ -92,7 +92,7 @@ describe('Compress', () => {
9292

9393
it('should not compress JSON body below threshold', (done) => {
9494
const app = new Koa()
95-
const jsonBody = { 'status': 200, 'message': 'ok' }
95+
const jsonBody = { status: 200, message: 'ok' }
9696

9797
app.use(compress())
9898
app.use((ctx, next) => {

0 commit comments

Comments
 (0)