@@ -3,6 +3,7 @@ import { describe, expect, it, vi } from 'vitest';
33import { defaultPaginationKeywords } from '~/config/parser' ;
44import type { Config } from '~/types/config' ;
55
6+ import type { Context } from '../context' ;
67import { operationPagination } from '../operation' ;
78import { getPaginationKeywordsRegExp } from '../pagination' ;
89import type { IR } from '../types' ;
@@ -92,7 +93,7 @@ describe('operationPagination', () => {
9293 ...( pagination ? { pagination : true } : { } ) ,
9394 } ) ;
9495
95- const emptyContext = { } as IR . Context ;
96+ const emptyContext = { } as Context ;
9697
9798 const baseOperationMeta = {
9899 method : 'post' as const ,
@@ -216,7 +217,7 @@ describe('operationPagination', () => {
216217 } ) ;
217218
218219 it ( 'resolves $ref and uses the resolved pagination property' , ( ) => {
219- const context : IR . Context = {
220+ const context : Context = {
220221 resolveIrRef : vi . fn ( ) . mockReturnValue ( {
221222 properties : {
222223 pagination : {
@@ -228,7 +229,7 @@ describe('operationPagination', () => {
228229 } ,
229230 type : 'object' ,
230231 } ) ,
231- } as unknown as IR . Context ;
232+ } as unknown as Context ;
232233
233234 const operation : IR . OperationObject = {
234235 ...baseOperationMeta ,
0 commit comments