Skip to content

Commit

Permalink
test: Tiny improvements on tests for more coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet committed Jan 22, 2025
1 parent 8f11a70 commit 56beb58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/adapters/rpc-server.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRpcServerComponent } from ' ../../../src/adapters/rpc-server/rpc-server'
import { createRpcServerComponent } from ' ../../../src/adapters/rpc-server'
import { IRPCServerComponent, RpcServerContext } from '../../../src/types'
import { RpcServer, Transport, createRpcServer } from '@dcl/rpc'
import {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/utils/pagination.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getPage } from '../../../src/utils/pagination'
describe('pagination', () => {
describe('getPage', () => {
it('should return the correct page number', () => {
expect(getPage(10, 0)).toBe(1)
expect(getPage(10)).toBe(1)
expect(getPage(10, 10)).toBe(2)
expect(getPage(10, 20)).toBe(3)
})
Expand Down

0 comments on commit 56beb58

Please sign in to comment.