Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

index.test.ts

19 lines450 Bytes

1import { configs } from './index'
2​
3describe('configs', () => {
4 it('should match snapshot', () => {
5 expect(configs).toMatchInlineSnapshot(`
6 {
7 "recommended": {
8 "plugins": [
9 "@tanstack/eslint-plugin-query",
10 ],
11 "rules": {
12 "@tanstack/query/exhaustive-deps": "error",
13 "@tanstack/query/prefer-query-object-syntax": "error",
14 },
15 },
16 }
17 `)
18 })
19})