Skip to content

Commit c88453d

Browse files
Merge pull request #445 from Workgrid/spelling-workgird
2 parents 752f285 + 22a05da commit c88453d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/workgrid-client-react/src/client-react.test.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe('@workgrid/client-react', () => {
7070
})
7171

7272
describe('useWorkgridClient', () => {
73-
test('will throw if used outside a WorkgirdProvider', () => {
73+
test('will throw if used outside a WorkgridProvider', () => {
7474
const { result } = renderHook(() => useWorkgridClient(), { wrapper: undefined })
7575

7676
expect(result.error).toMatchInlineSnapshot(`[Error: useWorkgridClient must be within a WorkgridProvider]`)
@@ -84,7 +84,7 @@ describe('@workgrid/client-react', () => {
8484
})
8585

8686
describe('useQuery', () => {
87-
test('will throw if used outside a WorkgirdProvider', () => {
87+
test('will throw if used outside a WorkgridProvider', () => {
8888
const { result } = renderHook(() => useQuery(['getNotification', { spaceId: 'space-id', id: '1234' }]), {
8989
wrapper: undefined,
9090
})
@@ -107,7 +107,7 @@ describe('@workgrid/client-react', () => {
107107
})
108108

109109
describe('useCustomQuery', () => {
110-
test('will throw if used outside a WorkgirdProvider', () => {
110+
test('will throw if used outside a WorkgridProvider', () => {
111111
const { result } = renderHook(() => useCustomQuery('query-key'), { wrapper: undefined })
112112

113113
expect(result.error).toMatchInlineSnapshot(`[Error: useCustomQuery must be within a WorkgridProvider]`)
@@ -128,7 +128,7 @@ describe('@workgrid/client-react', () => {
128128
})
129129

130130
describe('useMutation', () => {
131-
test('will throw if used outside a WorkgirdProvider', () => {
131+
test('will throw if used outside a WorkgridProvider', () => {
132132
const { result } = renderHook(() => useMutation('notificationViewed'), { wrapper: undefined })
133133

134134
expect(result.error).toMatchInlineSnapshot(`[Error: useMutation must be within a WorkgridProvider]`)
@@ -153,7 +153,7 @@ describe('@workgrid/client-react', () => {
153153
})
154154

155155
describe('useCustomMutation', () => {
156-
test('will throw if used outside a WorkgirdProvider', () => {
156+
test('will throw if used outside a WorkgridProvider', () => {
157157
const { result } = renderHook(() => useCustomMutation('mutation-key'), { wrapper: undefined })
158158

159159
expect(result.error).toMatchInlineSnapshot(`[Error: useCustomMutation must be within a WorkgridProvider]`)

0 commit comments

Comments
 (0)