Bump pinia from 2.2.2 to 2.2.5 #833
Annotations
10 errors
src/composables/queries/useUserAssignmentsQuery.test.js > useUserAssignmentsQuery > should call query with correct parameters:
src/composables/queries/useUserAssignmentsQuery.test.js#L49
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(3) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
- "_value": true,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-assignments",
- RefImpl {
+ "enabled": ComputedRefImpl {
+ "__v_isReadonly": true,
"__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": "gCpr1j6GLjVJ62xb25hfj",
- "_value": "gCpr1j6GLjVJ62xb25hfj",
+ "_value": true,
"dep": Dep {
"activeLink": undefined,
- "computed": undefined,
+ "computed": [Circular],
"key": undefined,
"map": undefined,
- "sc": 4,
- "subs": Link {
- "dep": [Circular],
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarUid",
- "map": Map {
- "firebaseUser" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "firebaseUser",
- "map": [Circular],
- "sc": 5,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarfirekit" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarfirekit",
- "map": [Circular],
- "sc": 1,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "userClaims" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "userClaims",
- "map": [Circular],
"sc": 2,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarUid" => [Circular],
- },
- "sc": 4,
- "subs": [Circular],
- "subsHead": Link {
- "dep": [Circular],
- "nextDep": Link {
+ "subs": Link {
"dep": [Circular],
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
- "computed": ComputedRefImpl {
- "__v_isReadonly": true,
- "__v_isRef": true,
- "_value": true,
- "dep": [Circular],
- "deps": [Circular],
- "depsTail": [Circular],
- "effect": [Circular],
- "flags": 20,
- "fn": [Function anonymous],
- "globalVersion": 67,
- "isSSR": false,
- "next": undefined,
- "setter": undefined,
- },
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 1,
- },
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular
|
src/composables/queries/useUserAssignmentsQuery.test.js > useUserAssignmentsQuery > should correctly control the enabled state of the query:
src/composables/queries/useUserAssignmentsQuery.test.js#L78
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(3) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
- "__v_isRef": true,
- "_value": false,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-assignments",
- RefImpl {
- "__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": "xe9eTg90JyqLc2M602hai",
- "_value": "xe9eTg90JyqLc2M602hai",
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": undefined,
- "map": undefined,
- "sc": 4,
- "subs": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "enabled",
- "map": Map {
- "enabled" => [Circular],
- },
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 0,
- },
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 0,
- },
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": [Circular],
- "prevSub": undefined,
- "sub": ComputedRefImpl {
+ "enabled": ComputedRefImpl {
"__v_isReadonly": true,
"__v_isRef": true,
"_value": false,
"dep": Dep {
"activeLink": undefined,
"computed": [Circular],
"key": undefined,
"map": undefined,
"sc": 2,
"subs": Link {
"dep": [Circular],
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
"nextDep": undefined,
"nextSub": [Circular],
"prevActiveLink": undefined,
"prevDep": undefined,
"prevSub": undefined,
"sub": ReactiveEffect {
"cleanup": undefined,
"deps": [Circular],
"depsTail": [Circular],
"flags": 5,
"fn": [Function getter],
"next": undefined,
"onStop": [Function anonymous],
"onTrack": undefined,
"onTrigger": undefined,
"scheduler": [Function anonymous],
},
"version": 0,
},
"version": 0,
},
"nextDep": undefined,
"nextSub": undefined,
"prevActiveLink": undefined,
"prevDep": [Circular],
"prevSub": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": [Circular],
"version": 0,
},
"nextDep": undefined,
"nextSub": [Circular],
"prevActiveLink": undefined,
"prevDep": undefined,
"prevSub": undefined,
"sub": ReactiveEffect {
"cleanup
|
src/composables/queries/useUserAssignmentsQuery.test.js > useUserAssignmentsQuery > should only fetch data once the uid is available:
src/composables/queries/useUserAssignmentsQuery.test.js#L109
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(3) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
+ "enabled": ComputedRefImpl {
+ "__v_isReadonly": true,
"__v_isRef": true,
"_value": false,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-assignments",
- RefImpl {
- "__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": null,
- "_value": null,
"dep": Dep {
"activeLink": undefined,
- "computed": undefined,
+ "computed": [Circular],
"key": undefined,
"map": undefined,
- "sc": 4,
- "subs": Link {
- "dep": [Circular],
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarUid",
- "map": Map {
- "firebaseUser" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "firebaseUser",
- "map": [Circular],
- "sc": 5,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarfirekit" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarfirekit",
- "map": [Circular],
- "sc": 1,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "userClaims" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "userClaims",
- "map": [Circular],
"sc": 2,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarUid" => [Circular],
- },
- "sc": 4,
- "subs": [Circular],
- "subsHead": Link {
- "dep": [Circular],
- "nextDep": Link {
+ "subs": Link {
"dep": [Circular],
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
- "computed": ComputedRefImpl {
- "__v_isReadonly": true,
- "__v_isRef": true,
- "_value": false,
- "dep": [Circular],
- "deps": [Circular],
- "depsTail": [Circular],
- "effect": [Circular],
- "flags": 20,
- "fn": [Function anonymous],
- "globalVersion": 201,
- "isSSR": false,
- "next": undefined,
- "setter": undefined,
- },
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 1,
- },
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
"nextDep"
|
src/composables/queries/useUserAssignmentsQuery.test.js > useUserAssignmentsQuery > should not let queryOptions override the internally computed value:
src/composables/queries/useUserAssignmentsQuery.test.js#L140
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(3) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
+ "enabled": ComputedRefImpl {
+ "__v_isReadonly": true,
"__v_isRef": true,
"_value": false,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-assignments",
- RefImpl {
- "__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": null,
- "_value": null,
"dep": Dep {
"activeLink": undefined,
- "computed": undefined,
+ "computed": [Circular],
"key": undefined,
"map": undefined,
- "sc": 4,
- "subs": Link {
- "dep": [Circular],
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarUid",
- "map": Map {
- "firebaseUser" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "firebaseUser",
- "map": [Circular],
- "sc": 5,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarfirekit" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarfirekit",
- "map": [Circular],
- "sc": 1,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "userClaims" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "userClaims",
- "map": [Circular],
"sc": 2,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarUid" => [Circular],
- },
- "sc": 4,
- "subs": [Circular],
- "subsHead": Link {
- "dep": [Circular],
- "nextDep": Link {
+ "subs": Link {
"dep": [Circular],
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
- "computed": ComputedRefImpl {
- "__v_isReadonly": true,
- "__v_isRef": true,
- "_value": false,
- "dep": [Circular],
- "deps": [Circular],
- "depsTail": [Circular],
- "effect": [Circular],
- "flags": 20,
- "fn": [Function anonymous],
- "globalVersion": 268,
- "isSSR": false,
- "next": undefined,
- "setter": undefined,
- },
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 1,
- },
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
"nextDep"
|
src/composables/queries/useUserClaimsQuery.test.js > useUserClaimsQuery > should call query with correct parameters:
src/composables/queries/useUserClaimsQuery.test.js#L48
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(2) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
- "_value": true,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-claims",
- RefImpl {
+ "enabled": ComputedRefImpl {
+ "__v_isReadonly": true,
"__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": "DA6QPOFvjr8t63Q4EKWiF",
- "_value": "DA6QPOFvjr8t63Q4EKWiF",
+ "_value": true,
"dep": Dep {
"activeLink": undefined,
- "computed": undefined,
+ "computed": [Circular],
"key": undefined,
"map": undefined,
- "sc": 4,
+ "sc": 2,
"subs": Link {
"dep": [Circular],
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "uid",
- "map": Map {
- "userClaims" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "userClaims",
- "map": [Circular],
- "sc": 3,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "firebaseUser" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "firebaseUser",
- "map": [Circular],
- "sc": 4,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarfirekit" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarfirekit",
- "map": [Circular],
- "sc": 1,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "uid" => [Circular],
- },
- "sc": 4,
- "subs": [Circular],
- "subsHead": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": ComputedRefImpl {
- "__v_isReadonly": true,
- "__v_isRef": true,
- "_value": true,
- "dep": [Circular],
- "deps": [Circular],
- "depsTail": [Circular],
- "effect": [Circular],
- "flags": 20,
- "fn": [Function anonymous],
- "globalVersion": 66,
- "isSSR": false,
- "next": undefined,
- "setter": undefined,
- },
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 1,
- },
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
|
src/composables/queries/useUserClaimsQuery.test.js > useUserClaimsQuery > should correctly control the enabled state of the query:
src/composables/queries/useUserClaimsQuery.test.js#L75
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(2) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
- "__v_isRef": true,
- "_value": false,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-claims",
- RefImpl {
- "__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": "zxNOC0S1ljZ8rT815Z6M1",
- "_value": "zxNOC0S1ljZ8rT815Z6M1",
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": undefined,
- "map": undefined,
- "sc": 4,
- "subs": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "enabled",
- "map": Map {
- "enabled" => [Circular],
- },
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 0,
- },
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 0,
- },
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": [Circular],
- "prevSub": undefined,
- "sub": ComputedRefImpl {
+ "enabled": ComputedRefImpl {
"__v_isReadonly": true,
"__v_isRef": true,
"_value": false,
"dep": Dep {
"activeLink": undefined,
"computed": [Circular],
"key": undefined,
"map": undefined,
"sc": 2,
"subs": Link {
"dep": [Circular],
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
"nextDep": undefined,
"nextSub": [Circular],
"prevActiveLink": undefined,
"prevDep": undefined,
"prevSub": undefined,
"sub": ReactiveEffect {
"cleanup": undefined,
"deps": [Circular],
"depsTail": [Circular],
"flags": 5,
"fn": [Function getter],
"next": undefined,
"onStop": [Function anonymous],
"onTrack": undefined,
"onTrigger": undefined,
"scheduler": [Function anonymous],
},
"version": 0,
},
"version": 0,
},
"nextDep": undefined,
"nextSub": undefined,
"prevActiveLink": undefined,
"prevDep": [Circular],
"prevSub": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": [Circular],
"version": 0,
},
"nextDep": undefined,
"nextSub": [Circular],
"prevActiveLink": undefined,
"prevDep": undefined,
"prevSub": undefined,
"sub": ReactiveEffect {
"cleanup": un
|
src/composables/queries/useUserClaimsQuery.test.js > useUserClaimsQuery > should only fetch data if once uid is available:
src/composables/queries/useUserClaimsQuery.test.js#L104
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(2) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
+ "enabled": ComputedRefImpl {
+ "__v_isReadonly": true,
"__v_isRef": true,
"_value": false,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-claims",
- RefImpl {
- "__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": null,
- "_value": null,
"dep": Dep {
"activeLink": undefined,
- "computed": undefined,
+ "computed": [Circular],
"key": undefined,
"map": undefined,
- "sc": 4,
+ "sc": 2,
"subs": Link {
"dep": [Circular],
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "uid",
- "map": Map {
- "userClaims" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "userClaims",
- "map": [Circular],
- "sc": 3,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "firebaseUser" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "firebaseUser",
- "map": [Circular],
- "sc": 4,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarfirekit" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarfirekit",
- "map": [Circular],
- "sc": 1,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "uid" => [Circular],
- },
- "sc": 4,
- "subs": [Circular],
- "subsHead": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": ComputedRefImpl {
- "__v_isReadonly": true,
- "__v_isRef": true,
- "_value": false,
- "dep": [Circular],
- "deps": [Circular],
- "depsTail": [Circular],
- "effect": [Circular],
- "flags": 20,
- "fn": [Function anonymous],
- "globalVersion": 198,
- "isSSR": false,
- "next": undefined,
- "setter": undefined,
- },
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 1,
- },
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
"nextDep": undef
|
src/composables/queries/useUserClaimsQuery.test.js > useUserClaimsQuery > should not let queryOptions override the internally computed value:
src/composables/queries/useUserClaimsQuery.test.js#L133
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(2) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
+ "enabled": ComputedRefImpl {
+ "__v_isReadonly": true,
"__v_isRef": true,
"_value": false,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-claims",
- RefImpl {
- "__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": null,
- "_value": null,
"dep": Dep {
"activeLink": undefined,
- "computed": undefined,
+ "computed": [Circular],
"key": undefined,
"map": undefined,
- "sc": 4,
+ "sc": 2,
"subs": Link {
"dep": [Circular],
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "uid",
- "map": Map {
- "userClaims" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "userClaims",
- "map": [Circular],
- "sc": 3,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "firebaseUser" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "firebaseUser",
- "map": [Circular],
- "sc": 4,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarfirekit" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarfirekit",
- "map": [Circular],
- "sc": 1,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "uid" => [Circular],
- },
- "sc": 4,
- "subs": [Circular],
- "subsHead": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": ComputedRefImpl {
- "__v_isReadonly": true,
- "__v_isRef": true,
- "_value": false,
- "dep": [Circular],
- "deps": [Circular],
- "depsTail": [Circular],
- "effect": [Circular],
- "flags": 20,
- "fn": [Function anonymous],
- "globalVersion": 264,
- "isSSR": false,
- "next": undefined,
- "setter": undefined,
- },
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 1,
- },
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
"nextDep": undef
|
src/composables/queries/useUserStudentDataQuery.test.js > useUserStudentDataQuery > should call query with correct parameters:
src/composables/queries/useUserStudentDataQuery.test.js#L48
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(2) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
- "_value": true,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-student",
- RefImpl {
+ "enabled": ComputedRefImpl {
+ "__v_isReadonly": true,
"__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": "ZYlE-VfMNx7BqjbQ0gC_P",
- "_value": "ZYlE-VfMNx7BqjbQ0gC_P",
+ "_value": true,
"dep": Dep {
"activeLink": undefined,
- "computed": undefined,
+ "computed": [Circular],
"key": undefined,
"map": undefined,
- "sc": 4,
- "subs": Link {
- "dep": [Circular],
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarUid",
- "map": Map {
- "firebaseUser" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "firebaseUser",
- "map": [Circular],
- "sc": 5,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarfirekit" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "roarfirekit",
- "map": [Circular],
- "sc": 1,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "userClaims" => Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "userClaims",
- "map": [Circular],
"sc": 2,
- "subs": undefined,
- "subsHead": undefined,
- "version": 0,
- },
- "roarUid" => [Circular],
- },
- "sc": 4,
- "subs": [Circular],
- "subsHead": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": ComputedRefImpl {
- "__v_isReadonly": true,
- "__v_isRef": true,
- "_value": true,
+ "subs": Link {
"dep": [Circular],
- "deps": [Circular],
- "depsTail": [Circular],
- "effect": [Circular],
- "flags": 20,
- "fn": [Function anonymous],
- "globalVersion": 66,
- "isSSR": false,
- "next": undefined,
- "setter": undefined,
- },
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 1,
- },
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
|
src/composables/queries/useUserStudentDataQuery.test.js > useUserStudentDataQuery > should correctly control the enabled state of the query:
src/composables/queries/useUserStudentDataQuery.test.js#L75
AssertionError: expected "spy" to be called with arguments: [ { queryKey: [ …(2) ], …(2) } ]
Received:
1st spy call:
Array [
Object {
- "enabled": ObjectContaining {
- "__v_isRef": true,
- "_value": false,
- },
- "queryFn": Any<Function>,
- "queryKey": Array [
- "user-student",
- RefImpl {
- "__v_isRef": true,
- "__v_isShallow": false,
- "_rawValue": "Ix32SG8m-erDfuD6bFWkq",
- "_value": "Ix32SG8m-erDfuD6bFWkq",
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": undefined,
- "map": undefined,
- "sc": 4,
- "subs": Link {
- "dep": [Circular],
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": "enabled",
- "map": Map {
- "enabled" => [Circular],
- },
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 0,
- },
- "nextDep": Link {
- "dep": Dep {
- "activeLink": undefined,
- "computed": undefined,
- "key": undefined,
- "map": undefined,
- "sc": 2,
- "subs": [Circular],
- "subsHead": [Circular],
- "version": 0,
- },
- "nextDep": undefined,
- "nextSub": undefined,
- "prevActiveLink": undefined,
- "prevDep": [Circular],
- "prevSub": undefined,
- "sub": ComputedRefImpl {
+ "enabled": ComputedRefImpl {
"__v_isReadonly": true,
"__v_isRef": true,
"_value": false,
"dep": Dep {
"activeLink": undefined,
"computed": [Circular],
"key": undefined,
"map": undefined,
"sc": 2,
"subs": Link {
"dep": [Circular],
"nextDep": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": Link {
"dep": [Circular],
"nextDep": undefined,
"nextSub": [Circular],
"prevActiveLink": undefined,
"prevDep": undefined,
"prevSub": undefined,
"sub": ReactiveEffect {
"cleanup": undefined,
"deps": [Circular],
"depsTail": [Circular],
"flags": 5,
"fn": [Function getter],
"next": undefined,
"onStop": [Function anonymous],
"onTrack": undefined,
"onTrigger": undefined,
"scheduler": [Function anonymous],
},
"version": 0,
},
"version": 0,
},
"nextDep": undefined,
"nextSub": undefined,
"prevActiveLink": undefined,
"prevDep": [Circular],
"prevSub": Link {
"dep": Dep {
"activeLink": undefined,
"computed": undefined,
"key": undefined,
"map": undefined,
"sc": 3,
"subs": [Circular],
"subsHead": [Circular],
"version": 0,
},
"nextDep": undefined,
"nextSub": [Circular],
"prevActiveLink": undefined,
"prevDep": undefined,
"prevSub": undefined,
"sub": ReactiveEffect {
"cleanup": u
|