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

index.test.ts

21 lines572 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/no-deprecated-options": "error",
14 "@tanstack/query/prefer-query-object-syntax": "error",
15 "@tanstack/query/stable-query-client": "error",
16 },
17 },
18 }
19 `)
20 })
21})