diff --git a/src/tag.spec-d.ts b/src/tag.spec-d.ts index 68db9e1..312f569 100644 --- a/src/tag.spec-d.ts +++ b/src/tag.spec-d.ts @@ -16,23 +16,23 @@ test('tag function returns a tag factory when a callback is provided', () => { const value = factory('foo') - expectTypeOf(value).toExtend>() + expectTypeOf(value).toEqualTypeOf>() }) test('tag function returns a typed tag when data generic is provided', () => { const value = tag() - expectTypeOf(value).toExtend>() + expectTypeOf(value).toEqualTypeOf>() }) test('tag factory returns a typed tag when data generic is provided', () => { const factory = tag((value: string) => value) - expectTypeOf(factory).toExtend>() + expectTypeOf(factory).toEqualTypeOf>() const value = factory('foo') - expectTypeOf(value).toExtend>() + expectTypeOf(value).toEqualTypeOf>() }) test('query from query function with tags callback is called with the query data', () => { @@ -41,7 +41,7 @@ test('query from query function with tags callback is called with the query data query(action, [], { tags: (data) => { - expectTypeOf(data).toExtend() + expectTypeOf(data).toEqualTypeOf() return [] }, @@ -54,7 +54,7 @@ test('query from query composition with tags callback is called with the query d useQuery(action, () => [], { tags: (data) => { - expectTypeOf(data).toExtend() + expectTypeOf(data).toEqualTypeOf() return [] },