UNPKG

@yoroi/common

Version:

The Common package of Yoroi SDK

17 lines (16 loc) 572 B
"use strict"; var _queryClient = require("./query-client"); describe('queryClientFixture', () => { it('should return a QueryClient with the correct default options', () => { const queryClient = (0, _queryClient.queryClientFixture)(); const defaultOptions = queryClient.getDefaultOptions(); expect(defaultOptions.queries).toEqual(expect.objectContaining({ retry: false, cacheTime: 0 })); expect(defaultOptions.mutations).toEqual(expect.objectContaining({ retry: false })); }); }); //# sourceMappingURL=query-client.test.js.map