@khanacademy/wonder-blocks-testing 0.0.0-PR2089-20231019161345
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +568 -0
- package/dist/es/index.js +474 -0
- package/dist/fetch/fetch-request-matches-mock.d.ts +5 -0
- package/dist/fetch/mock-fetch.d.ts +5 -0
- package/dist/fetch/types.d.ts +9 -0
- package/dist/fixtures/fixtures.basic.stories.d.ts +13 -0
- package/dist/fixtures/fixtures.d.ts +13 -0
- package/dist/fixtures/fixtures.defaultwrapper.stories.d.ts +9 -0
- package/dist/fixtures/types.d.ts +36 -0
- package/dist/gql/gql-request-matches-mock.d.ts +3 -0
- package/dist/gql/mock-gql-fetch.d.ts +5 -0
- package/dist/gql/types.d.ts +15 -0
- package/dist/harness/adapt.d.ts +17 -0
- package/dist/harness/adapters/adapters.d.ts +36 -0
- package/dist/harness/adapters/css.d.ts +12 -0
- package/dist/harness/adapters/data.d.ts +18 -0
- package/dist/harness/adapters/portal.d.ts +12 -0
- package/dist/harness/adapters/router.d.ts +94 -0
- package/dist/harness/adapters/ssr.d.ts +12 -0
- package/dist/harness/get-named-adapter-component.d.ts +16 -0
- package/dist/harness/hook-harness.d.ts +13 -0
- package/dist/harness/make-hook-harness.d.ts +17 -0
- package/dist/harness/make-test-harness.d.ts +15 -0
- package/dist/harness/test-harness.d.ts +33 -0
- package/dist/harness/types.d.ts +36 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +507 -0
- package/dist/mock-requester.d.ts +5 -0
- package/dist/respond-with.d.ts +57 -0
- package/dist/response-impl.d.ts +1 -0
- package/dist/settle-controller.d.ts +19 -0
- package/dist/settle-signal.d.ts +18 -0
- package/dist/types.d.ts +25 -0
- package/package.json +34 -0
- package/src/__tests__/mock-requester.test.ts +212 -0
- package/src/__tests__/respond-with.test.ts +524 -0
- package/src/__tests__/response-impl.test.js +47 -0
- package/src/__tests__/settle-controller.test.ts +28 -0
- package/src/__tests__/settle-signal.test.ts +104 -0
- package/src/fetch/__tests__/__snapshots__/mock-fetch.test.ts.snap +29 -0
- package/src/fetch/__tests__/fetch-request-matches-mock.test.ts +98 -0
- package/src/fetch/__tests__/mock-fetch.test.ts +83 -0
- package/src/fetch/fetch-request-matches-mock.ts +42 -0
- package/src/fetch/mock-fetch.ts +20 -0
- package/src/fetch/types.ts +14 -0
- package/src/fixtures/__tests__/fixtures.test.tsx +147 -0
- package/src/fixtures/fixtures.basic.stories.tsx +62 -0
- package/src/fixtures/fixtures.defaultwrapper.stories.tsx +49 -0
- package/src/fixtures/fixtures.tsx +72 -0
- package/src/fixtures/types.ts +42 -0
- package/src/gql/__tests__/gql-request-matches-mock.test.ts +234 -0
- package/src/gql/__tests__/mock-gql-fetch.test.tsx +479 -0
- package/src/gql/__tests__/wb-data-integration.test.tsx +269 -0
- package/src/gql/gql-request-matches-mock.ts +71 -0
- package/src/gql/mock-gql-fetch.ts +20 -0
- package/src/gql/types.ts +33 -0
- package/src/harness/__tests__/adapt.test.tsx +248 -0
- package/src/harness/__tests__/hook-harness.test.ts +73 -0
- package/src/harness/__tests__/make-hook-harness.test.tsx +93 -0
- package/src/harness/__tests__/make-test-harness.test.tsx +195 -0
- package/src/harness/__tests__/test-harness.test.ts +75 -0
- package/src/harness/__tests__/types.typestest.tsx +103 -0
- package/src/harness/adapt.tsx +41 -0
- package/src/harness/adapters/__tests__/__snapshots__/router.test.tsx.snap +5 -0
- package/src/harness/adapters/__tests__/__snapshots__/ssr.test.tsx.snap +7 -0
- package/src/harness/adapters/__tests__/css.test.tsx +95 -0
- package/src/harness/adapters/__tests__/data.test.tsx +75 -0
- package/src/harness/adapters/__tests__/portal.test.tsx +30 -0
- package/src/harness/adapters/__tests__/router.test.tsx +252 -0
- package/src/harness/adapters/__tests__/ssr.test.tsx +86 -0
- package/src/harness/adapters/adapters.ts +35 -0
- package/src/harness/adapters/css.tsx +66 -0
- package/src/harness/adapters/data.tsx +48 -0
- package/src/harness/adapters/portal.tsx +25 -0
- package/src/harness/adapters/router.tsx +205 -0
- package/src/harness/adapters/ssr.tsx +37 -0
- package/src/harness/get-named-adapter-component.tsx +36 -0
- package/src/harness/hook-harness.ts +22 -0
- package/src/harness/make-hook-harness.tsx +40 -0
- package/src/harness/make-test-harness.tsx +60 -0
- package/src/harness/test-harness.ts +13 -0
- package/src/harness/types.ts +47 -0
- package/src/index.ts +20 -0
- package/src/mock-requester.ts +68 -0
- package/src/respond-with.ts +242 -0
- package/src/response-impl.ts +8 -0
- package/src/settle-controller.ts +34 -0
- package/src/settle-signal.ts +42 -0
- package/src/types.ts +40 -0
- package/tsconfig-build.json +12 -0
- package/tsconfig-build.tsbuildinfo +1 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,568 @@
|
|
|
1
|
+
# @khanacademy/wonder-blocks-testing
|
|
2
|
+
|
|
3
|
+
## 0.0.0-PR2089-20231019161345
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ab3f7875]
|
|
8
|
+
- @khanacademy/wonder-blocks-core@0.0.0-PR2089-20231019161345
|
|
9
|
+
- @khanacademy/wonder-blocks-data@0.0.0-PR2089-20231019161345
|
|
10
|
+
|
|
11
|
+
## 9.3.4
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [4b97b9a2]
|
|
16
|
+
- @khanacademy/wonder-blocks-core@6.2.0
|
|
17
|
+
- @khanacademy/wonder-blocks-data@13.0.4
|
|
18
|
+
|
|
19
|
+
## 9.3.3
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [2871f0a9]
|
|
24
|
+
- @khanacademy/wonder-blocks-core@6.1.1
|
|
25
|
+
- @khanacademy/wonder-blocks-data@13.0.3
|
|
26
|
+
|
|
27
|
+
## 9.3.2
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- Updated dependencies [efb59c29]
|
|
32
|
+
- Updated dependencies [8bc40ed2]
|
|
33
|
+
- @khanacademy/wonder-blocks-core@6.1.0
|
|
34
|
+
- @khanacademy/wonder-blocks-data@13.0.2
|
|
35
|
+
|
|
36
|
+
## 9.3.1
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- 9c608281: Make sure ssr adapter doesn't throw if it gets nested
|
|
41
|
+
|
|
42
|
+
## 9.3.0
|
|
43
|
+
|
|
44
|
+
### Minor Changes
|
|
45
|
+
|
|
46
|
+
- f530fbeb: Fix bug where the test harness was causing the component under test to be remounted when rerendering instead of reusing the existing instance
|
|
47
|
+
|
|
48
|
+
## 9.2.0
|
|
49
|
+
|
|
50
|
+
### Minor Changes
|
|
51
|
+
|
|
52
|
+
- 76883b4e: Make sure Wonder Blocks Testing is dependent on Core
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- 76883b4e: Output the adapter name with the Adapter component
|
|
57
|
+
- Updated dependencies [f19da46e]
|
|
58
|
+
- @khanacademy/wonder-blocks-core@6.0.2
|
|
59
|
+
- @khanacademy/wonder-blocks-data@13.0.1
|
|
60
|
+
|
|
61
|
+
## 9.1.0
|
|
62
|
+
|
|
63
|
+
### Minor Changes
|
|
64
|
+
|
|
65
|
+
- 6ed7e928: Test harness adapters are now rendered as React components which should ensure that contexts are properly available when children are rendered inside the adapters that require those contexts
|
|
66
|
+
|
|
67
|
+
## 9.0.0
|
|
68
|
+
|
|
69
|
+
### Major Changes
|
|
70
|
+
|
|
71
|
+
- 1920feb8: Added new SSR adapter for test harnesses to support `RenderStateRoot` in tests and stories
|
|
72
|
+
|
|
73
|
+
### Patch Changes
|
|
74
|
+
|
|
75
|
+
- Updated dependencies [65c02cff]
|
|
76
|
+
- @khanacademy/wonder-blocks-data@13.0.0
|
|
77
|
+
|
|
78
|
+
## 8.0.21
|
|
79
|
+
|
|
80
|
+
### Patch Changes
|
|
81
|
+
|
|
82
|
+
- 674a1e5c: We're no longer building flow types
|
|
83
|
+
- Updated dependencies [674a1e5c]
|
|
84
|
+
- Updated dependencies [674a1e5c]
|
|
85
|
+
- @khanacademy/wonder-blocks-data@12.0.0
|
|
86
|
+
|
|
87
|
+
## 8.0.20
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- @khanacademy/wonder-blocks-data@11.0.16
|
|
92
|
+
|
|
93
|
+
## 8.0.19
|
|
94
|
+
|
|
95
|
+
### Patch Changes
|
|
96
|
+
|
|
97
|
+
- @khanacademy/wonder-blocks-data@11.0.15
|
|
98
|
+
|
|
99
|
+
## 8.0.18
|
|
100
|
+
|
|
101
|
+
### Patch Changes
|
|
102
|
+
|
|
103
|
+
- @khanacademy/wonder-blocks-data@11.0.14
|
|
104
|
+
|
|
105
|
+
## 8.0.17
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- @khanacademy/wonder-blocks-data@11.0.13
|
|
110
|
+
|
|
111
|
+
## 8.0.16
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- @khanacademy/wonder-blocks-data@11.0.12
|
|
116
|
+
|
|
117
|
+
## 8.0.15
|
|
118
|
+
|
|
119
|
+
### Patch Changes
|
|
120
|
+
|
|
121
|
+
- Updated dependencies [5a1ea891]
|
|
122
|
+
- @khanacademy/wonder-blocks-data@11.0.11
|
|
123
|
+
|
|
124
|
+
## 8.0.14
|
|
125
|
+
|
|
126
|
+
### Patch Changes
|
|
127
|
+
|
|
128
|
+
- 43f6328d: Fix flow types
|
|
129
|
+
|
|
130
|
+
## 8.0.13
|
|
131
|
+
|
|
132
|
+
### Patch Changes
|
|
133
|
+
|
|
134
|
+
- 19ab0408: Update flowgen to convert React.ForwardRefExoticComponent<> and React.FowardedRef<> properly
|
|
135
|
+
- @khanacademy/wonder-blocks-data@11.0.10
|
|
136
|
+
|
|
137
|
+
## 8.0.12
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- a6164ed0: Don't use React.FC<> for functional components
|
|
142
|
+
- Updated dependencies [a6164ed0]
|
|
143
|
+
- @khanacademy/wonder-blocks-data@11.0.9
|
|
144
|
+
|
|
145
|
+
## 8.0.11
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- a7fd4c07: Fix regression in error message formatting for fetch mocking
|
|
150
|
+
|
|
151
|
+
## 8.0.10
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- 97829726: Fix indentation change in mockGqlFetch
|
|
156
|
+
|
|
157
|
+
## 8.0.9
|
|
158
|
+
|
|
159
|
+
### Patch Changes
|
|
160
|
+
|
|
161
|
+
- 7e79069d: Get the types working properly
|
|
162
|
+
|
|
163
|
+
## 8.0.8
|
|
164
|
+
|
|
165
|
+
### Patch Changes
|
|
166
|
+
|
|
167
|
+
- @khanacademy/wonder-blocks-data@11.0.8
|
|
168
|
+
|
|
169
|
+
## 8.0.7
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- @khanacademy/wonder-blocks-data@11.0.7
|
|
174
|
+
|
|
175
|
+
## 8.0.6
|
|
176
|
+
|
|
177
|
+
### Patch Changes
|
|
178
|
+
|
|
179
|
+
- c20f48f3: Don't transpile classes when building bundles
|
|
180
|
+
- Updated dependencies [c20f48f3]
|
|
181
|
+
- @khanacademy/wonder-blocks-data@11.0.6
|
|
182
|
+
|
|
183
|
+
## 8.0.5
|
|
184
|
+
|
|
185
|
+
### Patch Changes
|
|
186
|
+
|
|
187
|
+
- Updated dependencies [43155769]
|
|
188
|
+
- @khanacademy/wonder-blocks-data@11.0.5
|
|
189
|
+
|
|
190
|
+
## 8.0.4
|
|
191
|
+
|
|
192
|
+
### Patch Changes
|
|
193
|
+
|
|
194
|
+
- Updated dependencies [bedcbcf8]
|
|
195
|
+
- @khanacademy/wonder-blocks-data@11.0.4
|
|
196
|
+
|
|
197
|
+
## 8.0.3
|
|
198
|
+
|
|
199
|
+
### Patch Changes
|
|
200
|
+
|
|
201
|
+
- @khanacademy/wonder-blocks-data@11.0.3
|
|
202
|
+
|
|
203
|
+
## 8.0.2
|
|
204
|
+
|
|
205
|
+
### Patch Changes
|
|
206
|
+
|
|
207
|
+
- @khanacademy/wonder-blocks-data@11.0.2
|
|
208
|
+
|
|
209
|
+
## 8.0.1
|
|
210
|
+
|
|
211
|
+
### Patch Changes
|
|
212
|
+
|
|
213
|
+
- d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
|
|
214
|
+
- Updated dependencies [ccb6fe00]
|
|
215
|
+
- Updated dependencies [d4c2b18c]
|
|
216
|
+
- @khanacademy/wonder-blocks-data@11.0.1
|
|
217
|
+
|
|
218
|
+
## 8.0.0
|
|
219
|
+
|
|
220
|
+
### Major Changes
|
|
221
|
+
|
|
222
|
+
- 1ca4d7e3: Fix minor issue with generate Flow types (this is a major bump b/c I forgot to do one after doing the TS conversion)
|
|
223
|
+
|
|
224
|
+
### Patch Changes
|
|
225
|
+
|
|
226
|
+
- Updated dependencies [1ca4d7e3]
|
|
227
|
+
- @khanacademy/wonder-blocks-data@11.0.0
|
|
228
|
+
|
|
229
|
+
## 7.1.13
|
|
230
|
+
|
|
231
|
+
### Patch Changes
|
|
232
|
+
|
|
233
|
+
- b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
|
|
234
|
+
- Updated dependencies [b5ba5568]
|
|
235
|
+
- @khanacademy/wonder-blocks-data@10.1.3
|
|
236
|
+
|
|
237
|
+
## 7.1.12
|
|
238
|
+
|
|
239
|
+
### Patch Changes
|
|
240
|
+
|
|
241
|
+
- @khanacademy/wonder-blocks-data@10.1.2
|
|
242
|
+
|
|
243
|
+
## 7.1.11
|
|
244
|
+
|
|
245
|
+
### Patch Changes
|
|
246
|
+
|
|
247
|
+
- 873f4a14: Update type narrowing logic to work better with TypeScript
|
|
248
|
+
- d816af08: Update build and test configs use TypeScript
|
|
249
|
+
- 3891f544: Update babel config to include plugins that Storybook needed
|
|
250
|
+
- 3813715d: Update wonder-stuff dependencies (non-functional changes)
|
|
251
|
+
- 0d28bb1c: Configured TypeScript
|
|
252
|
+
- 3d05f764: Fix HOCs and other type errors
|
|
253
|
+
- c2ec4902: Update eslint configuration, fix lint
|
|
254
|
+
- 2983c05b: Include 'types' field in package.json
|
|
255
|
+
- 77ff6a66: Generate Flow types from TypeScript types
|
|
256
|
+
- ec8d4b7f: Fix miscellaneous TypeScript errors
|
|
257
|
+
- Updated dependencies [d816af08]
|
|
258
|
+
- Updated dependencies [3891f544]
|
|
259
|
+
- Updated dependencies [3813715d]
|
|
260
|
+
- Updated dependencies [0d28bb1c]
|
|
261
|
+
- Updated dependencies [3d05f764]
|
|
262
|
+
- Updated dependencies [c2ec4902]
|
|
263
|
+
- Updated dependencies [2983c05b]
|
|
264
|
+
- Updated dependencies [77ff6a66]
|
|
265
|
+
- Updated dependencies [ec8d4b7f]
|
|
266
|
+
- @khanacademy/wonder-blocks-data@10.1.1
|
|
267
|
+
|
|
268
|
+
## 7.1.10
|
|
269
|
+
|
|
270
|
+
### Patch Changes
|
|
271
|
+
|
|
272
|
+
- 91cb727c: Update wonder-stuff dependencies
|
|
273
|
+
- 91cb727c: Remove file extensions from imports
|
|
274
|
+
- Updated dependencies [91cb727c]
|
|
275
|
+
- Updated dependencies [91cb727c]
|
|
276
|
+
- Updated dependencies [91cb727c]
|
|
277
|
+
- @khanacademy/wonder-blocks-data@10.1.0
|
|
278
|
+
|
|
279
|
+
## 7.1.9
|
|
280
|
+
|
|
281
|
+
### Patch Changes
|
|
282
|
+
|
|
283
|
+
- 1a5624d4: Update wonder-stuff dependencies to use newly published packages after migrating wonder-stuff to TypeScript
|
|
284
|
+
- Updated dependencies [1a5624d4]
|
|
285
|
+
- @khanacademy/wonder-blocks-data@10.0.5
|
|
286
|
+
|
|
287
|
+
## 7.1.8
|
|
288
|
+
|
|
289
|
+
### Patch Changes
|
|
290
|
+
|
|
291
|
+
- @khanacademy/wonder-blocks-data@10.0.4
|
|
292
|
+
|
|
293
|
+
## 7.1.7
|
|
294
|
+
|
|
295
|
+
### Patch Changes
|
|
296
|
+
|
|
297
|
+
- @khanacademy/wonder-blocks-data@10.0.3
|
|
298
|
+
|
|
299
|
+
## 7.1.6
|
|
300
|
+
|
|
301
|
+
### Patch Changes
|
|
302
|
+
|
|
303
|
+
- @khanacademy/wonder-blocks-data@10.0.2
|
|
304
|
+
|
|
305
|
+
## 7.1.5
|
|
306
|
+
|
|
307
|
+
### Patch Changes
|
|
308
|
+
|
|
309
|
+
- @khanacademy/wonder-blocks-data@10.0.1
|
|
310
|
+
|
|
311
|
+
## 7.1.4
|
|
312
|
+
|
|
313
|
+
### Patch Changes
|
|
314
|
+
|
|
315
|
+
- Updated dependencies [5a3ec7f9]
|
|
316
|
+
- @khanacademy/wonder-blocks-data@10.0.0
|
|
317
|
+
|
|
318
|
+
## 7.1.3
|
|
319
|
+
|
|
320
|
+
### Patch Changes
|
|
321
|
+
|
|
322
|
+
- @khanacademy/wonder-blocks-data@9.1.2
|
|
323
|
+
|
|
324
|
+
## 7.1.2
|
|
325
|
+
|
|
326
|
+
### Patch Changes
|
|
327
|
+
|
|
328
|
+
- Updated dependencies [eb59ce34]
|
|
329
|
+
- @khanacademy/wonder-blocks-data@9.1.1
|
|
330
|
+
|
|
331
|
+
## 7.1.1
|
|
332
|
+
|
|
333
|
+
### Patch Changes
|
|
334
|
+
|
|
335
|
+
- Updated dependencies [944c3071]
|
|
336
|
+
- @khanacademy/wonder-blocks-data@9.1.0
|
|
337
|
+
|
|
338
|
+
## 7.1.0
|
|
339
|
+
|
|
340
|
+
### Minor Changes
|
|
341
|
+
|
|
342
|
+
- 17301778: Add `toPromise` method to mock responses
|
|
343
|
+
|
|
344
|
+
### Patch Changes
|
|
345
|
+
|
|
346
|
+
- d5a13e6d: `RespondWith` API now supports a signal for controlling the settlement of the promise. Introduces `SettleController` to support this new feature.
|
|
347
|
+
|
|
348
|
+
## 7.0.5
|
|
349
|
+
|
|
350
|
+
### Patch Changes
|
|
351
|
+
|
|
352
|
+
- Updated dependencies [778f8e43]
|
|
353
|
+
- Updated dependencies [778f8e43]
|
|
354
|
+
- @khanacademy/wonder-blocks-data@9.0.0
|
|
355
|
+
|
|
356
|
+
## 7.0.4
|
|
357
|
+
|
|
358
|
+
### Patch Changes
|
|
359
|
+
|
|
360
|
+
- Updated dependencies [08238b89]
|
|
361
|
+
- @khanacademy/wonder-blocks-data@8.0.5
|
|
362
|
+
|
|
363
|
+
## 7.0.3
|
|
364
|
+
|
|
365
|
+
### Patch Changes
|
|
366
|
+
|
|
367
|
+
- Updated dependencies [dc2e00f4]
|
|
368
|
+
- @khanacademy/wonder-blocks-data@8.0.4
|
|
369
|
+
|
|
370
|
+
## 7.0.2
|
|
371
|
+
|
|
372
|
+
### Patch Changes
|
|
373
|
+
|
|
374
|
+
- aa7993a8: Make sure wrapper component is used when provided
|
|
375
|
+
|
|
376
|
+
## 7.0.1
|
|
377
|
+
|
|
378
|
+
### Patch Changes
|
|
379
|
+
|
|
380
|
+
- 79a3bc8e: Export more types for the fixtures framework
|
|
381
|
+
|
|
382
|
+
## 7.0.0
|
|
383
|
+
|
|
384
|
+
### Major Changes
|
|
385
|
+
|
|
386
|
+
- d078f526: Simplify fixtures API to target only CSF/storybook
|
|
387
|
+
|
|
388
|
+
## 6.1.0
|
|
389
|
+
|
|
390
|
+
### Minor Changes
|
|
391
|
+
|
|
392
|
+
- b79979b8: Add `logHandler` to GetPropsOptions to simplify generic event logging for common use cases
|
|
393
|
+
|
|
394
|
+
## 6.0.0
|
|
395
|
+
|
|
396
|
+
### Major Changes
|
|
397
|
+
|
|
398
|
+
- af459222: Improve typing for fixtures call
|
|
399
|
+
|
|
400
|
+
## 5.0.2
|
|
401
|
+
|
|
402
|
+
### Patch Changes
|
|
403
|
+
|
|
404
|
+
- Updated dependencies [5f4a4297]
|
|
405
|
+
- Updated dependencies [2b96fd59]
|
|
406
|
+
- @khanacademy/wonder-blocks-data@8.0.3
|
|
407
|
+
|
|
408
|
+
## 5.0.1
|
|
409
|
+
|
|
410
|
+
### Patch Changes
|
|
411
|
+
|
|
412
|
+
- 5b1c80d2: Fix test harness types
|
|
413
|
+
|
|
414
|
+
## 5.0.0
|
|
415
|
+
|
|
416
|
+
### Major Changes
|
|
417
|
+
|
|
418
|
+
- 217b2c7b: Add test harness framework
|
|
419
|
+
- a8d9a825: Adapters for fixture framework now exported as `fixtureAdapters`, adapters for test harness framework now exported as `harnessAdapters`. Various types renamed for disambiguation. `FetchMock` and `GqlMock` export types removed.
|
|
420
|
+
|
|
421
|
+
## 4.0.4
|
|
422
|
+
|
|
423
|
+
### Patch Changes
|
|
424
|
+
|
|
425
|
+
- Updated dependencies [580141ed]
|
|
426
|
+
- @khanacademy/wonder-blocks-data@8.0.2
|
|
427
|
+
|
|
428
|
+
## 4.0.3
|
|
429
|
+
|
|
430
|
+
### Patch Changes
|
|
431
|
+
|
|
432
|
+
- Updated dependencies [e5fa4d9e]
|
|
433
|
+
- @khanacademy/wonder-blocks-data@8.0.1
|
|
434
|
+
|
|
435
|
+
## 4.0.2
|
|
436
|
+
|
|
437
|
+
### Patch Changes
|
|
438
|
+
|
|
439
|
+
- Updated dependencies [1385f468]
|
|
440
|
+
- Updated dependencies [0720470e]
|
|
441
|
+
- Updated dependencies [0720470e]
|
|
442
|
+
- Updated dependencies [cf9ed87f]
|
|
443
|
+
- Updated dependencies [b882b082]
|
|
444
|
+
- Updated dependencies [0720470e]
|
|
445
|
+
- Updated dependencies [75c10036]
|
|
446
|
+
- Updated dependencies [a85f2f3a]
|
|
447
|
+
- Updated dependencies [0720470e]
|
|
448
|
+
- @khanacademy/wonder-blocks-data@8.0.0
|
|
449
|
+
|
|
450
|
+
## 4.0.1
|
|
451
|
+
|
|
452
|
+
### Patch Changes
|
|
453
|
+
|
|
454
|
+
- @khanacademy/wonder-blocks-data@7.0.1
|
|
455
|
+
|
|
456
|
+
## 4.0.0
|
|
457
|
+
|
|
458
|
+
### Major Changes
|
|
459
|
+
|
|
460
|
+
- fce91b39: Introduced `mockFetch` and expanded `RespondWith` options. `RespondWith` responses will now be real `Response` instances (needs node-fetch peer dependency if no other implementation exists). Breaking changes: `RespondWith.data` is now `RespondWith.graphQLData`.
|
|
461
|
+
|
|
462
|
+
## 3.0.1
|
|
463
|
+
|
|
464
|
+
### Patch Changes
|
|
465
|
+
|
|
466
|
+
- 6e4fbeed: Make sure simplified fixtures call copes with return values from React.forwardRef
|
|
467
|
+
|
|
468
|
+
## 3.0.0
|
|
469
|
+
|
|
470
|
+
### Major Changes
|
|
471
|
+
|
|
472
|
+
- 9a43cc06: Allow for autogenerating titles in Storybook
|
|
473
|
+
|
|
474
|
+
### Patch Changes
|
|
475
|
+
|
|
476
|
+
- 222cb8db: Add simplified signature for common usage of `fixtures` function
|
|
477
|
+
|
|
478
|
+
## 2.0.8
|
|
479
|
+
|
|
480
|
+
### Patch Changes
|
|
481
|
+
|
|
482
|
+
- Updated dependencies [34407c4a]
|
|
483
|
+
- @khanacademy/wonder-blocks-data@7.0.0
|
|
484
|
+
|
|
485
|
+
## 2.0.7
|
|
486
|
+
|
|
487
|
+
### Patch Changes
|
|
488
|
+
|
|
489
|
+
- Updated dependencies [5ad01891]
|
|
490
|
+
- @khanacademy/wonder-blocks-data@6.0.1
|
|
491
|
+
|
|
492
|
+
## 2.0.6
|
|
493
|
+
|
|
494
|
+
### Patch Changes
|
|
495
|
+
|
|
496
|
+
- Updated dependencies [1f34c4e8]
|
|
497
|
+
- Updated dependencies [885fe62b]
|
|
498
|
+
- Updated dependencies [5c852025]
|
|
499
|
+
- Updated dependencies [c91f3959]
|
|
500
|
+
- Updated dependencies [5d614ed4]
|
|
501
|
+
- Updated dependencies [753220a4]
|
|
502
|
+
- @khanacademy/wonder-blocks-data@6.0.0
|
|
503
|
+
|
|
504
|
+
## 2.0.5
|
|
505
|
+
|
|
506
|
+
### Patch Changes
|
|
507
|
+
|
|
508
|
+
- Updated dependencies [c9922b34]
|
|
509
|
+
- @khanacademy/wonder-blocks-data@5.0.1
|
|
510
|
+
|
|
511
|
+
## 2.0.4
|
|
512
|
+
|
|
513
|
+
### Patch Changes
|
|
514
|
+
|
|
515
|
+
- Updated dependencies [5b5f85ac]
|
|
516
|
+
- @khanacademy/wonder-blocks-data@5.0.0
|
|
517
|
+
|
|
518
|
+
## 2.0.3
|
|
519
|
+
|
|
520
|
+
### Patch Changes
|
|
521
|
+
|
|
522
|
+
- Updated dependencies [7c9dd09b]
|
|
523
|
+
- Updated dependencies [febc7309]
|
|
524
|
+
- Updated dependencies [bffc345e]
|
|
525
|
+
- @khanacademy/wonder-blocks-data@4.0.0
|
|
526
|
+
|
|
527
|
+
## 2.0.2
|
|
528
|
+
|
|
529
|
+
### Patch Changes
|
|
530
|
+
|
|
531
|
+
- Updated dependencies [6973afa2]
|
|
532
|
+
- @khanacademy/wonder-blocks-data@3.2.0
|
|
533
|
+
|
|
534
|
+
## 2.0.1
|
|
535
|
+
|
|
536
|
+
### Patch Changes
|
|
537
|
+
|
|
538
|
+
- 9931ae6b: Simplify GQL types
|
|
539
|
+
- Updated dependencies [9931ae6b]
|
|
540
|
+
- @khanacademy/wonder-blocks-data@3.1.3
|
|
541
|
+
|
|
542
|
+
## 2.0.0
|
|
543
|
+
|
|
544
|
+
### Major Changes
|
|
545
|
+
|
|
546
|
+
- 274caaac: Remove isolateModules (now implemented by @khanacademy/wonder-stuff-testing), export GQL framework, export fixture framework types
|
|
547
|
+
|
|
548
|
+
### Patch Changes
|
|
549
|
+
|
|
550
|
+
- @khanacademy/wonder-blocks-data@3.1.2
|
|
551
|
+
|
|
552
|
+
## 1.0.0
|
|
553
|
+
|
|
554
|
+
### Major Changes
|
|
555
|
+
|
|
556
|
+
- 4ff59815: Add GraphQL fetch mock support to wonder-blocks-testing
|
|
557
|
+
|
|
558
|
+
### Patch Changes
|
|
559
|
+
|
|
560
|
+
- Updated dependencies [4ff59815]
|
|
561
|
+
- @khanacademy/wonder-blocks-data@3.1.1
|
|
562
|
+
|
|
563
|
+
## 0.0.2
|
|
564
|
+
|
|
565
|
+
### Patch Changes
|
|
566
|
+
|
|
567
|
+
- d2dba67a: Implemented the fixture framework and added the storybook adapter for it
|
|
568
|
+
- b7a100f2: Add the new wonder-blocks-testing package
|