@khanacademy/wonder-blocks-testing 15.0.5 → 15.1.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +275 -246
  2. package/LICENSE +21 -0
  3. package/package.json +13 -14
package/CHANGELOG.md CHANGED
@@ -1,744 +1,773 @@
1
1
  # @khanacademy/wonder-blocks-testing
2
2
 
3
+ ## 15.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - ee8d95a: Rollback rollup version from v4 to v2 to prevent an issue with CJS builds in unit tests
8
+ - Updated dependencies [ee8d95a]
9
+ - @khanacademy/wonder-blocks-core@12.1.1
10
+ - @khanacademy/wonder-blocks-data@14.1.1
11
+ - @khanacademy/wonder-blocks-testing-core@2.1.1
12
+
13
+ ## 15.1.0
14
+
15
+ ### Minor Changes
16
+
17
+ - f03298f: Tooling:
18
+
19
+ - Switching to `pnpm`.
20
+ - Upgrading `rollup` to v4 and `@babel/runtime` to match the current webapp version.
21
+
22
+ ### Patch Changes
23
+
24
+ - bb2a026: pnpm: Switch to workspace protocol to handle dependency versions with changesets on monorepo setup"
25
+ - Updated dependencies [969864b]
26
+ - Updated dependencies [bb2a026]
27
+ - Updated dependencies [f03298f]
28
+ - @khanacademy/wonder-blocks-core@12.1.0
29
+ - @khanacademy/wonder-blocks-data@14.1.0
30
+ - @khanacademy/wonder-blocks-testing-core@2.1.0
31
+
3
32
  ## 15.0.5
4
33
 
5
34
  ### Patch Changes
6
35
 
7
- - Updated dependencies [0199324d]
8
- - @khanacademy/wonder-blocks-core@12.0.0
9
- - @khanacademy/wonder-blocks-data@14.0.7
36
+ - Updated dependencies [0199324d]
37
+ - @khanacademy/wonder-blocks-core@12.0.0
38
+ - @khanacademy/wonder-blocks-data@14.0.7
10
39
 
11
40
  ## 15.0.4
12
41
 
13
42
  ### Patch Changes
14
43
 
15
- - Updated dependencies [7516b239]
16
- - @khanacademy/wonder-blocks-core@11.1.0
17
- - @khanacademy/wonder-blocks-data@14.0.6
44
+ - Updated dependencies [7516b239]
45
+ - @khanacademy/wonder-blocks-core@11.1.0
46
+ - @khanacademy/wonder-blocks-data@14.0.6
18
47
 
19
48
  ## 15.0.3
20
49
 
21
50
  ### Patch Changes
22
51
 
23
- - Updated dependencies [faf7bd21]
24
- - @khanacademy/wonder-blocks-data@14.0.5
52
+ - Updated dependencies [faf7bd21]
53
+ - @khanacademy/wonder-blocks-data@14.0.5
25
54
 
26
55
  ## 15.0.2
27
56
 
28
57
  ### Patch Changes
29
58
 
30
- - 11a0f5c6: No functional changes. Adding prepublishOnly script.
31
- - Updated dependencies [11a0f5c6]
32
- - @khanacademy/wonder-blocks-testing-core@2.0.1
33
- - @khanacademy/wonder-blocks-core@11.0.1
34
- - @khanacademy/wonder-blocks-data@14.0.4
59
+ - 11a0f5c6: No functional changes. Adding prepublishOnly script.
60
+ - Updated dependencies [11a0f5c6]
61
+ - @khanacademy/wonder-blocks-testing-core@2.0.1
62
+ - @khanacademy/wonder-blocks-core@11.0.1
63
+ - @khanacademy/wonder-blocks-data@14.0.4
35
64
 
36
65
  ## 15.0.1
37
66
 
38
67
  ### Patch Changes
39
68
 
40
- - Updated dependencies [d23c9c5f]
41
- - @khanacademy/wonder-blocks-core@11.0.0
42
- - @khanacademy/wonder-blocks-data@14.0.3
69
+ - Updated dependencies [d23c9c5f]
70
+ - @khanacademy/wonder-blocks-core@11.0.0
71
+ - @khanacademy/wonder-blocks-data@14.0.3
43
72
 
44
73
  ## 15.0.0
45
74
 
46
75
  ### Major Changes
47
76
 
48
- - 56d961f1: - Migrate Wonder Blocks components off old id providers and onto new `Id` component
77
+ - 56d961f1: - Migrate Wonder Blocks components off old id providers and onto new `Id` component
49
78
 
50
79
  ### Patch Changes
51
80
 
52
- - b6009b77: Deprecate the ID provider and unique ID utilities
53
- - Updated dependencies [b6009b77]
54
- - Updated dependencies [897686bc]
55
- - Updated dependencies [56d961f1]
56
- - @khanacademy/wonder-blocks-core@10.0.0
57
- - @khanacademy/wonder-blocks-data@14.0.2
81
+ - b6009b77: Deprecate the ID provider and unique ID utilities
82
+ - Updated dependencies [b6009b77]
83
+ - Updated dependencies [897686bc]
84
+ - Updated dependencies [56d961f1]
85
+ - @khanacademy/wonder-blocks-core@10.0.0
86
+ - @khanacademy/wonder-blocks-data@14.0.2
58
87
 
59
88
  ## 14.0.1
60
89
 
61
90
  ### Patch Changes
62
91
 
63
- - Updated dependencies [f4abd572]
64
- - @khanacademy/wonder-blocks-core@9.0.0
65
- - @khanacademy/wonder-blocks-data@14.0.1
92
+ - Updated dependencies [f4abd572]
93
+ - @khanacademy/wonder-blocks-core@9.0.0
94
+ - @khanacademy/wonder-blocks-data@14.0.1
66
95
 
67
96
  ## 14.0.0
68
97
 
69
98
  ### Major Changes
70
99
 
71
- - e6abdd17: Upgrade to React 18
100
+ - e6abdd17: Upgrade to React 18
72
101
 
73
102
  ### Patch Changes
74
103
 
75
- - Updated dependencies [e6abdd17]
76
- - @khanacademy/wonder-blocks-testing-core@2.0.0
77
- - @khanacademy/wonder-blocks-core@8.0.0
78
- - @khanacademy/wonder-blocks-data@14.0.0
104
+ - Updated dependencies [e6abdd17]
105
+ - @khanacademy/wonder-blocks-testing-core@2.0.0
106
+ - @khanacademy/wonder-blocks-core@8.0.0
107
+ - @khanacademy/wonder-blocks-data@14.0.0
79
108
 
80
109
  ## 13.0.0
81
110
 
82
111
  ### Major Changes
83
112
 
84
- - eb807af8: When mocking GraphQL, consider explicit undefined values in a request to be equivalent to missing keys in a mock
113
+ - eb807af8: When mocking GraphQL, consider explicit undefined values in a request to be equivalent to missing keys in a mock
85
114
 
86
115
  ### Minor Changes
87
116
 
88
- - 16565a85: Add support for hard fails to the request mocking features
117
+ - 16565a85: Add support for hard fails to the request mocking features
89
118
 
90
119
  ### Patch Changes
91
120
 
92
- - Updated dependencies [16565a85]
93
- - @khanacademy/wonder-blocks-testing-core@1.1.0
121
+ - Updated dependencies [16565a85]
122
+ - @khanacademy/wonder-blocks-testing-core@1.1.0
94
123
 
95
124
  ## 12.0.1
96
125
 
97
126
  ### Patch Changes
98
127
 
99
- - 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
100
- - Updated dependencies [02a1b298]
101
- - @khanacademy/wonder-blocks-core@7.0.1
102
- - @khanacademy/wonder-blocks-data@13.0.12
103
- - @khanacademy/wonder-blocks-testing-core@1.0.2
128
+ - 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
129
+ - Updated dependencies [02a1b298]
130
+ - @khanacademy/wonder-blocks-core@7.0.1
131
+ - @khanacademy/wonder-blocks-data@13.0.12
132
+ - @khanacademy/wonder-blocks-testing-core@1.0.2
104
133
 
105
134
  ## 12.0.0
106
135
 
107
136
  ### Major Changes
108
137
 
109
- - 490b5fa4: Rename ssr adapter to renderState
138
+ - 490b5fa4: Rename ssr adapter to renderState
110
139
 
111
140
  ### Patch Changes
112
141
 
113
- - Updated dependencies [07f7f407]
114
- - @khanacademy/wonder-blocks-core@7.0.0
115
- - @khanacademy/wonder-blocks-data@13.0.11
142
+ - Updated dependencies [07f7f407]
143
+ - @khanacademy/wonder-blocks-core@7.0.0
144
+ - @khanacademy/wonder-blocks-data@13.0.11
116
145
 
117
146
  ## 11.0.1
118
147
 
119
148
  ### Patch Changes
120
149
 
121
- - 559e82d5: Update to build tooling, generating smaller output
122
- - Updated dependencies [c954464a]
123
- - Updated dependencies [559e82d5]
124
- - @khanacademy/wonder-blocks-testing-core@1.0.1
125
- - @khanacademy/wonder-blocks-core@6.4.3
126
- - @khanacademy/wonder-blocks-data@13.0.10
150
+ - 559e82d5: Update to build tooling, generating smaller output
151
+ - Updated dependencies [c954464a]
152
+ - Updated dependencies [559e82d5]
153
+ - @khanacademy/wonder-blocks-testing-core@1.0.1
154
+ - @khanacademy/wonder-blocks-core@6.4.3
155
+ - @khanacademy/wonder-blocks-data@13.0.10
127
156
 
128
157
  ## 11.0.0
129
158
 
130
159
  ### Major Changes
131
160
 
132
- - 2a6c85df: New package containing core Testing functionality without dependencies on other WB packages
133
- - 2a6c85df: - Minimum version for Storybook actions addon increased to 7
134
- - Added new `renderHookStatic` utility to replace deprecated `renderHookServer` from `@testing-library/react-hooks`; ready for React 18 updates
135
- - Added new `boundary` error boundary adapter for the test harness to capture errors during tests; ready for React 18 updates
161
+ - 2a6c85df: New package containing core Testing functionality without dependencies on other WB packages
162
+ - 2a6c85df: - Minimum version for Storybook actions addon increased to 7
163
+ - Added new `renderHookStatic` utility to replace deprecated `renderHookServer` from `@testing-library/react-hooks`; ready for React 18 updates
164
+ - Added new `boundary` error boundary adapter for the test harness to capture errors during tests; ready for React 18 updates
136
165
 
137
166
  ### Patch Changes
138
167
 
139
- - Updated dependencies [2a6c85df]
140
- - Updated dependencies [eab37b8b]
141
- - @khanacademy/wonder-blocks-testing-core@1.0.0
142
- - @khanacademy/wonder-blocks-core@6.4.2
143
- - @khanacademy/wonder-blocks-data@13.0.9
168
+ - Updated dependencies [2a6c85df]
169
+ - Updated dependencies [eab37b8b]
170
+ - @khanacademy/wonder-blocks-testing-core@1.0.0
171
+ - @khanacademy/wonder-blocks-core@6.4.2
172
+ - @khanacademy/wonder-blocks-data@13.0.9
144
173
 
145
174
  ## 10.1.1
146
175
 
147
176
  ### Patch Changes
148
177
 
149
- - Updated dependencies [5dfac06e]
150
- - @khanacademy/wonder-blocks-core@6.4.1
151
- - @khanacademy/wonder-blocks-data@13.0.8
178
+ - Updated dependencies [5dfac06e]
179
+ - @khanacademy/wonder-blocks-core@6.4.1
180
+ - @khanacademy/wonder-blocks-data@13.0.8
152
181
 
153
182
  ## 10.1.0
154
183
 
155
184
  ### Minor Changes
156
185
 
157
- - 58075352: Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
186
+ - 58075352: Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
158
187
 
159
188
  ### Patch Changes
160
189
 
161
- - Updated dependencies [58075352]
162
- - @khanacademy/wonder-blocks-core@6.4.0
163
- - @khanacademy/wonder-blocks-data@13.0.7
190
+ - Updated dependencies [58075352]
191
+ - @khanacademy/wonder-blocks-core@6.4.0
192
+ - @khanacademy/wonder-blocks-data@13.0.7
164
193
 
165
194
  ## 10.0.1
166
195
 
167
196
  ### Patch Changes
168
197
 
169
- - Updated dependencies [6df21f71]
170
- - @khanacademy/wonder-blocks-core@6.3.1
171
- - @khanacademy/wonder-blocks-data@13.0.6
198
+ - Updated dependencies [6df21f71]
199
+ - @khanacademy/wonder-blocks-core@6.3.1
200
+ - @khanacademy/wonder-blocks-data@13.0.6
172
201
 
173
202
  ## 10.0.0
174
203
 
175
204
  ### Major Changes
176
205
 
177
- - a1675f63: Make sure that `MockResponse<TData>` properly enforces `TData` type. This is a breaking change as it affects the usage of the various mocking frameworks, and may result in new type errors in consuming code.
206
+ - a1675f63: Make sure that `MockResponse<TData>` properly enforces `TData` type. This is a breaking change as it affects the usage of the various mocking frameworks, and may result in new type errors in consuming code.
178
207
 
179
208
  ## 9.3.5
180
209
 
181
210
  ### Patch Changes
182
211
 
183
- - Updated dependencies [7055ca94]
184
- - @khanacademy/wonder-blocks-core@6.3.0
185
- - @khanacademy/wonder-blocks-data@13.0.5
212
+ - Updated dependencies [7055ca94]
213
+ - @khanacademy/wonder-blocks-core@6.3.0
214
+ - @khanacademy/wonder-blocks-data@13.0.5
186
215
 
187
216
  ## 9.3.4
188
217
 
189
218
  ### Patch Changes
190
219
 
191
- - Updated dependencies [4b97b9a2]
192
- - @khanacademy/wonder-blocks-core@6.2.0
193
- - @khanacademy/wonder-blocks-data@13.0.4
220
+ - Updated dependencies [4b97b9a2]
221
+ - @khanacademy/wonder-blocks-core@6.2.0
222
+ - @khanacademy/wonder-blocks-data@13.0.4
194
223
 
195
224
  ## 9.3.3
196
225
 
197
226
  ### Patch Changes
198
227
 
199
- - Updated dependencies [2871f0a9]
200
- - @khanacademy/wonder-blocks-core@6.1.1
201
- - @khanacademy/wonder-blocks-data@13.0.3
228
+ - Updated dependencies [2871f0a9]
229
+ - @khanacademy/wonder-blocks-core@6.1.1
230
+ - @khanacademy/wonder-blocks-data@13.0.3
202
231
 
203
232
  ## 9.3.2
204
233
 
205
234
  ### Patch Changes
206
235
 
207
- - Updated dependencies [efb59c29]
208
- - Updated dependencies [8bc40ed2]
209
- - @khanacademy/wonder-blocks-core@6.1.0
210
- - @khanacademy/wonder-blocks-data@13.0.2
236
+ - Updated dependencies [efb59c29]
237
+ - Updated dependencies [8bc40ed2]
238
+ - @khanacademy/wonder-blocks-core@6.1.0
239
+ - @khanacademy/wonder-blocks-data@13.0.2
211
240
 
212
241
  ## 9.3.1
213
242
 
214
243
  ### Patch Changes
215
244
 
216
- - 9c608281: Make sure ssr adapter doesn't throw if it gets nested
245
+ - 9c608281: Make sure ssr adapter doesn't throw if it gets nested
217
246
 
218
247
  ## 9.3.0
219
248
 
220
249
  ### Minor Changes
221
250
 
222
- - f530fbeb: Fix bug where the test harness was causing the component under test to be remounted when rerendering instead of reusing the existing instance
251
+ - f530fbeb: Fix bug where the test harness was causing the component under test to be remounted when rerendering instead of reusing the existing instance
223
252
 
224
253
  ## 9.2.0
225
254
 
226
255
  ### Minor Changes
227
256
 
228
- - 76883b4e: Make sure Wonder Blocks Testing is dependent on Core
257
+ - 76883b4e: Make sure Wonder Blocks Testing is dependent on Core
229
258
 
230
259
  ### Patch Changes
231
260
 
232
- - 76883b4e: Output the adapter name with the Adapter component
233
- - Updated dependencies [f19da46e]
234
- - @khanacademy/wonder-blocks-core@6.0.2
235
- - @khanacademy/wonder-blocks-data@13.0.1
261
+ - 76883b4e: Output the adapter name with the Adapter component
262
+ - Updated dependencies [f19da46e]
263
+ - @khanacademy/wonder-blocks-core@6.0.2
264
+ - @khanacademy/wonder-blocks-data@13.0.1
236
265
 
237
266
  ## 9.1.0
238
267
 
239
268
  ### Minor Changes
240
269
 
241
- - 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
270
+ - 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
242
271
 
243
272
  ## 9.0.0
244
273
 
245
274
  ### Major Changes
246
275
 
247
- - 1920feb8: Added new SSR adapter for test harnesses to support `RenderStateRoot` in tests and stories
276
+ - 1920feb8: Added new SSR adapter for test harnesses to support `RenderStateRoot` in tests and stories
248
277
 
249
278
  ### Patch Changes
250
279
 
251
- - Updated dependencies [65c02cff]
252
- - @khanacademy/wonder-blocks-data@13.0.0
280
+ - Updated dependencies [65c02cff]
281
+ - @khanacademy/wonder-blocks-data@13.0.0
253
282
 
254
283
  ## 8.0.21
255
284
 
256
285
  ### Patch Changes
257
286
 
258
- - 674a1e5c: We're no longer building flow types
259
- - Updated dependencies [674a1e5c]
260
- - Updated dependencies [674a1e5c]
261
- - @khanacademy/wonder-blocks-data@12.0.0
287
+ - 674a1e5c: We're no longer building flow types
288
+ - Updated dependencies [674a1e5c]
289
+ - Updated dependencies [674a1e5c]
290
+ - @khanacademy/wonder-blocks-data@12.0.0
262
291
 
263
292
  ## 8.0.20
264
293
 
265
294
  ### Patch Changes
266
295
 
267
- - @khanacademy/wonder-blocks-data@11.0.16
296
+ - @khanacademy/wonder-blocks-data@11.0.16
268
297
 
269
298
  ## 8.0.19
270
299
 
271
300
  ### Patch Changes
272
301
 
273
- - @khanacademy/wonder-blocks-data@11.0.15
302
+ - @khanacademy/wonder-blocks-data@11.0.15
274
303
 
275
304
  ## 8.0.18
276
305
 
277
306
  ### Patch Changes
278
307
 
279
- - @khanacademy/wonder-blocks-data@11.0.14
308
+ - @khanacademy/wonder-blocks-data@11.0.14
280
309
 
281
310
  ## 8.0.17
282
311
 
283
312
  ### Patch Changes
284
313
 
285
- - @khanacademy/wonder-blocks-data@11.0.13
314
+ - @khanacademy/wonder-blocks-data@11.0.13
286
315
 
287
316
  ## 8.0.16
288
317
 
289
318
  ### Patch Changes
290
319
 
291
- - @khanacademy/wonder-blocks-data@11.0.12
320
+ - @khanacademy/wonder-blocks-data@11.0.12
292
321
 
293
322
  ## 8.0.15
294
323
 
295
324
  ### Patch Changes
296
325
 
297
- - Updated dependencies [5a1ea891]
298
- - @khanacademy/wonder-blocks-data@11.0.11
326
+ - Updated dependencies [5a1ea891]
327
+ - @khanacademy/wonder-blocks-data@11.0.11
299
328
 
300
329
  ## 8.0.14
301
330
 
302
331
  ### Patch Changes
303
332
 
304
- - 43f6328d: Fix flow types
333
+ - 43f6328d: Fix flow types
305
334
 
306
335
  ## 8.0.13
307
336
 
308
337
  ### Patch Changes
309
338
 
310
- - 19ab0408: Update flowgen to convert React.ForwardRefExoticComponent<> and React.FowardedRef<> properly
311
- - @khanacademy/wonder-blocks-data@11.0.10
339
+ - 19ab0408: Update flowgen to convert React.ForwardRefExoticComponent<> and React.FowardedRef<> properly
340
+ - @khanacademy/wonder-blocks-data@11.0.10
312
341
 
313
342
  ## 8.0.12
314
343
 
315
344
  ### Patch Changes
316
345
 
317
- - a6164ed0: Don't use React.FC<> for functional components
318
- - Updated dependencies [a6164ed0]
319
- - @khanacademy/wonder-blocks-data@11.0.9
346
+ - a6164ed0: Don't use React.FC<> for functional components
347
+ - Updated dependencies [a6164ed0]
348
+ - @khanacademy/wonder-blocks-data@11.0.9
320
349
 
321
350
  ## 8.0.11
322
351
 
323
352
  ### Patch Changes
324
353
 
325
- - a7fd4c07: Fix regression in error message formatting for fetch mocking
354
+ - a7fd4c07: Fix regression in error message formatting for fetch mocking
326
355
 
327
356
  ## 8.0.10
328
357
 
329
358
  ### Patch Changes
330
359
 
331
- - 97829726: Fix indentation change in mockGqlFetch
360
+ - 97829726: Fix indentation change in mockGqlFetch
332
361
 
333
362
  ## 8.0.9
334
363
 
335
364
  ### Patch Changes
336
365
 
337
- - 7e79069d: Get the types working properly
366
+ - 7e79069d: Get the types working properly
338
367
 
339
368
  ## 8.0.8
340
369
 
341
370
  ### Patch Changes
342
371
 
343
- - @khanacademy/wonder-blocks-data@11.0.8
372
+ - @khanacademy/wonder-blocks-data@11.0.8
344
373
 
345
374
  ## 8.0.7
346
375
 
347
376
  ### Patch Changes
348
377
 
349
- - @khanacademy/wonder-blocks-data@11.0.7
378
+ - @khanacademy/wonder-blocks-data@11.0.7
350
379
 
351
380
  ## 8.0.6
352
381
 
353
382
  ### Patch Changes
354
383
 
355
- - c20f48f3: Don't transpile classes when building bundles
356
- - Updated dependencies [c20f48f3]
357
- - @khanacademy/wonder-blocks-data@11.0.6
384
+ - c20f48f3: Don't transpile classes when building bundles
385
+ - Updated dependencies [c20f48f3]
386
+ - @khanacademy/wonder-blocks-data@11.0.6
358
387
 
359
388
  ## 8.0.5
360
389
 
361
390
  ### Patch Changes
362
391
 
363
- - Updated dependencies [43155769]
364
- - @khanacademy/wonder-blocks-data@11.0.5
392
+ - Updated dependencies [43155769]
393
+ - @khanacademy/wonder-blocks-data@11.0.5
365
394
 
366
395
  ## 8.0.4
367
396
 
368
397
  ### Patch Changes
369
398
 
370
- - Updated dependencies [bedcbcf8]
371
- - @khanacademy/wonder-blocks-data@11.0.4
399
+ - Updated dependencies [bedcbcf8]
400
+ - @khanacademy/wonder-blocks-data@11.0.4
372
401
 
373
402
  ## 8.0.3
374
403
 
375
404
  ### Patch Changes
376
405
 
377
- - @khanacademy/wonder-blocks-data@11.0.3
406
+ - @khanacademy/wonder-blocks-data@11.0.3
378
407
 
379
408
  ## 8.0.2
380
409
 
381
410
  ### Patch Changes
382
411
 
383
- - @khanacademy/wonder-blocks-data@11.0.2
412
+ - @khanacademy/wonder-blocks-data@11.0.2
384
413
 
385
414
  ## 8.0.1
386
415
 
387
416
  ### Patch Changes
388
417
 
389
- - d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
390
- - Updated dependencies [ccb6fe00]
391
- - Updated dependencies [d4c2b18c]
392
- - @khanacademy/wonder-blocks-data@11.0.1
418
+ - d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
419
+ - Updated dependencies [ccb6fe00]
420
+ - Updated dependencies [d4c2b18c]
421
+ - @khanacademy/wonder-blocks-data@11.0.1
393
422
 
394
423
  ## 8.0.0
395
424
 
396
425
  ### Major Changes
397
426
 
398
- - 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)
427
+ - 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)
399
428
 
400
429
  ### Patch Changes
401
430
 
402
- - Updated dependencies [1ca4d7e3]
403
- - @khanacademy/wonder-blocks-data@11.0.0
431
+ - Updated dependencies [1ca4d7e3]
432
+ - @khanacademy/wonder-blocks-data@11.0.0
404
433
 
405
434
  ## 7.1.13
406
435
 
407
436
  ### Patch Changes
408
437
 
409
- - b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
410
- - Updated dependencies [b5ba5568]
411
- - @khanacademy/wonder-blocks-data@10.1.3
438
+ - b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
439
+ - Updated dependencies [b5ba5568]
440
+ - @khanacademy/wonder-blocks-data@10.1.3
412
441
 
413
442
  ## 7.1.12
414
443
 
415
444
  ### Patch Changes
416
445
 
417
- - @khanacademy/wonder-blocks-data@10.1.2
446
+ - @khanacademy/wonder-blocks-data@10.1.2
418
447
 
419
448
  ## 7.1.11
420
449
 
421
450
  ### Patch Changes
422
451
 
423
- - 873f4a14: Update type narrowing logic to work better with TypeScript
424
- - d816af08: Update build and test configs use TypeScript
425
- - 3891f544: Update babel config to include plugins that Storybook needed
426
- - 3813715d: Update wonder-stuff dependencies (non-functional changes)
427
- - 0d28bb1c: Configured TypeScript
428
- - 3d05f764: Fix HOCs and other type errors
429
- - c2ec4902: Update eslint configuration, fix lint
430
- - 2983c05b: Include 'types' field in package.json
431
- - 77ff6a66: Generate Flow types from TypeScript types
432
- - ec8d4b7f: Fix miscellaneous TypeScript errors
433
- - Updated dependencies [d816af08]
434
- - Updated dependencies [3891f544]
435
- - Updated dependencies [3813715d]
436
- - Updated dependencies [0d28bb1c]
437
- - Updated dependencies [3d05f764]
438
- - Updated dependencies [c2ec4902]
439
- - Updated dependencies [2983c05b]
440
- - Updated dependencies [77ff6a66]
441
- - Updated dependencies [ec8d4b7f]
442
- - @khanacademy/wonder-blocks-data@10.1.1
452
+ - 873f4a14: Update type narrowing logic to work better with TypeScript
453
+ - d816af08: Update build and test configs use TypeScript
454
+ - 3891f544: Update babel config to include plugins that Storybook needed
455
+ - 3813715d: Update wonder-stuff dependencies (non-functional changes)
456
+ - 0d28bb1c: Configured TypeScript
457
+ - 3d05f764: Fix HOCs and other type errors
458
+ - c2ec4902: Update eslint configuration, fix lint
459
+ - 2983c05b: Include 'types' field in package.json
460
+ - 77ff6a66: Generate Flow types from TypeScript types
461
+ - ec8d4b7f: Fix miscellaneous TypeScript errors
462
+ - Updated dependencies [d816af08]
463
+ - Updated dependencies [3891f544]
464
+ - Updated dependencies [3813715d]
465
+ - Updated dependencies [0d28bb1c]
466
+ - Updated dependencies [3d05f764]
467
+ - Updated dependencies [c2ec4902]
468
+ - Updated dependencies [2983c05b]
469
+ - Updated dependencies [77ff6a66]
470
+ - Updated dependencies [ec8d4b7f]
471
+ - @khanacademy/wonder-blocks-data@10.1.1
443
472
 
444
473
  ## 7.1.10
445
474
 
446
475
  ### Patch Changes
447
476
 
448
- - 91cb727c: Update wonder-stuff dependencies
449
- - 91cb727c: Remove file extensions from imports
450
- - Updated dependencies [91cb727c]
451
- - Updated dependencies [91cb727c]
452
- - Updated dependencies [91cb727c]
453
- - @khanacademy/wonder-blocks-data@10.1.0
477
+ - 91cb727c: Update wonder-stuff dependencies
478
+ - 91cb727c: Remove file extensions from imports
479
+ - Updated dependencies [91cb727c]
480
+ - Updated dependencies [91cb727c]
481
+ - Updated dependencies [91cb727c]
482
+ - @khanacademy/wonder-blocks-data@10.1.0
454
483
 
455
484
  ## 7.1.9
456
485
 
457
486
  ### Patch Changes
458
487
 
459
- - 1a5624d4: Update wonder-stuff dependencies to use newly published packages after migrating wonder-stuff to TypeScript
460
- - Updated dependencies [1a5624d4]
461
- - @khanacademy/wonder-blocks-data@10.0.5
488
+ - 1a5624d4: Update wonder-stuff dependencies to use newly published packages after migrating wonder-stuff to TypeScript
489
+ - Updated dependencies [1a5624d4]
490
+ - @khanacademy/wonder-blocks-data@10.0.5
462
491
 
463
492
  ## 7.1.8
464
493
 
465
494
  ### Patch Changes
466
495
 
467
- - @khanacademy/wonder-blocks-data@10.0.4
496
+ - @khanacademy/wonder-blocks-data@10.0.4
468
497
 
469
498
  ## 7.1.7
470
499
 
471
500
  ### Patch Changes
472
501
 
473
- - @khanacademy/wonder-blocks-data@10.0.3
502
+ - @khanacademy/wonder-blocks-data@10.0.3
474
503
 
475
504
  ## 7.1.6
476
505
 
477
506
  ### Patch Changes
478
507
 
479
- - @khanacademy/wonder-blocks-data@10.0.2
508
+ - @khanacademy/wonder-blocks-data@10.0.2
480
509
 
481
510
  ## 7.1.5
482
511
 
483
512
  ### Patch Changes
484
513
 
485
- - @khanacademy/wonder-blocks-data@10.0.1
514
+ - @khanacademy/wonder-blocks-data@10.0.1
486
515
 
487
516
  ## 7.1.4
488
517
 
489
518
  ### Patch Changes
490
519
 
491
- - Updated dependencies [5a3ec7f9]
492
- - @khanacademy/wonder-blocks-data@10.0.0
520
+ - Updated dependencies [5a3ec7f9]
521
+ - @khanacademy/wonder-blocks-data@10.0.0
493
522
 
494
523
  ## 7.1.3
495
524
 
496
525
  ### Patch Changes
497
526
 
498
- - @khanacademy/wonder-blocks-data@9.1.2
527
+ - @khanacademy/wonder-blocks-data@9.1.2
499
528
 
500
529
  ## 7.1.2
501
530
 
502
531
  ### Patch Changes
503
532
 
504
- - Updated dependencies [eb59ce34]
505
- - @khanacademy/wonder-blocks-data@9.1.1
533
+ - Updated dependencies [eb59ce34]
534
+ - @khanacademy/wonder-blocks-data@9.1.1
506
535
 
507
536
  ## 7.1.1
508
537
 
509
538
  ### Patch Changes
510
539
 
511
- - Updated dependencies [944c3071]
512
- - @khanacademy/wonder-blocks-data@9.1.0
540
+ - Updated dependencies [944c3071]
541
+ - @khanacademy/wonder-blocks-data@9.1.0
513
542
 
514
543
  ## 7.1.0
515
544
 
516
545
  ### Minor Changes
517
546
 
518
- - 17301778: Add `toPromise` method to mock responses
547
+ - 17301778: Add `toPromise` method to mock responses
519
548
 
520
549
  ### Patch Changes
521
550
 
522
- - d5a13e6d: `RespondWith` API now supports a signal for controlling the settlement of the promise. Introduces `SettleController` to support this new feature.
551
+ - d5a13e6d: `RespondWith` API now supports a signal for controlling the settlement of the promise. Introduces `SettleController` to support this new feature.
523
552
 
524
553
  ## 7.0.5
525
554
 
526
555
  ### Patch Changes
527
556
 
528
- - Updated dependencies [778f8e43]
529
- - Updated dependencies [778f8e43]
530
- - @khanacademy/wonder-blocks-data@9.0.0
557
+ - Updated dependencies [778f8e43]
558
+ - Updated dependencies [778f8e43]
559
+ - @khanacademy/wonder-blocks-data@9.0.0
531
560
 
532
561
  ## 7.0.4
533
562
 
534
563
  ### Patch Changes
535
564
 
536
- - Updated dependencies [08238b89]
537
- - @khanacademy/wonder-blocks-data@8.0.5
565
+ - Updated dependencies [08238b89]
566
+ - @khanacademy/wonder-blocks-data@8.0.5
538
567
 
539
568
  ## 7.0.3
540
569
 
541
570
  ### Patch Changes
542
571
 
543
- - Updated dependencies [dc2e00f4]
544
- - @khanacademy/wonder-blocks-data@8.0.4
572
+ - Updated dependencies [dc2e00f4]
573
+ - @khanacademy/wonder-blocks-data@8.0.4
545
574
 
546
575
  ## 7.0.2
547
576
 
548
577
  ### Patch Changes
549
578
 
550
- - aa7993a8: Make sure wrapper component is used when provided
579
+ - aa7993a8: Make sure wrapper component is used when provided
551
580
 
552
581
  ## 7.0.1
553
582
 
554
583
  ### Patch Changes
555
584
 
556
- - 79a3bc8e: Export more types for the fixtures framework
585
+ - 79a3bc8e: Export more types for the fixtures framework
557
586
 
558
587
  ## 7.0.0
559
588
 
560
589
  ### Major Changes
561
590
 
562
- - d078f526: Simplify fixtures API to target only CSF/storybook
591
+ - d078f526: Simplify fixtures API to target only CSF/storybook
563
592
 
564
593
  ## 6.1.0
565
594
 
566
595
  ### Minor Changes
567
596
 
568
- - b79979b8: Add `logHandler` to GetPropsOptions to simplify generic event logging for common use cases
597
+ - b79979b8: Add `logHandler` to GetPropsOptions to simplify generic event logging for common use cases
569
598
 
570
599
  ## 6.0.0
571
600
 
572
601
  ### Major Changes
573
602
 
574
- - af459222: Improve typing for fixtures call
603
+ - af459222: Improve typing for fixtures call
575
604
 
576
605
  ## 5.0.2
577
606
 
578
607
  ### Patch Changes
579
608
 
580
- - Updated dependencies [5f4a4297]
581
- - Updated dependencies [2b96fd59]
582
- - @khanacademy/wonder-blocks-data@8.0.3
609
+ - Updated dependencies [5f4a4297]
610
+ - Updated dependencies [2b96fd59]
611
+ - @khanacademy/wonder-blocks-data@8.0.3
583
612
 
584
613
  ## 5.0.1
585
614
 
586
615
  ### Patch Changes
587
616
 
588
- - 5b1c80d2: Fix test harness types
617
+ - 5b1c80d2: Fix test harness types
589
618
 
590
619
  ## 5.0.0
591
620
 
592
621
  ### Major Changes
593
622
 
594
- - 217b2c7b: Add test harness framework
595
- - 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.
623
+ - 217b2c7b: Add test harness framework
624
+ - 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.
596
625
 
597
626
  ## 4.0.4
598
627
 
599
628
  ### Patch Changes
600
629
 
601
- - Updated dependencies [580141ed]
602
- - @khanacademy/wonder-blocks-data@8.0.2
630
+ - Updated dependencies [580141ed]
631
+ - @khanacademy/wonder-blocks-data@8.0.2
603
632
 
604
633
  ## 4.0.3
605
634
 
606
635
  ### Patch Changes
607
636
 
608
- - Updated dependencies [e5fa4d9e]
609
- - @khanacademy/wonder-blocks-data@8.0.1
637
+ - Updated dependencies [e5fa4d9e]
638
+ - @khanacademy/wonder-blocks-data@8.0.1
610
639
 
611
640
  ## 4.0.2
612
641
 
613
642
  ### Patch Changes
614
643
 
615
- - Updated dependencies [1385f468]
616
- - Updated dependencies [0720470e]
617
- - Updated dependencies [0720470e]
618
- - Updated dependencies [cf9ed87f]
619
- - Updated dependencies [b882b082]
620
- - Updated dependencies [0720470e]
621
- - Updated dependencies [75c10036]
622
- - Updated dependencies [a85f2f3a]
623
- - Updated dependencies [0720470e]
624
- - @khanacademy/wonder-blocks-data@8.0.0
644
+ - Updated dependencies [1385f468]
645
+ - Updated dependencies [0720470e]
646
+ - Updated dependencies [0720470e]
647
+ - Updated dependencies [cf9ed87f]
648
+ - Updated dependencies [b882b082]
649
+ - Updated dependencies [0720470e]
650
+ - Updated dependencies [75c10036]
651
+ - Updated dependencies [a85f2f3a]
652
+ - Updated dependencies [0720470e]
653
+ - @khanacademy/wonder-blocks-data@8.0.0
625
654
 
626
655
  ## 4.0.1
627
656
 
628
657
  ### Patch Changes
629
658
 
630
- - @khanacademy/wonder-blocks-data@7.0.1
659
+ - @khanacademy/wonder-blocks-data@7.0.1
631
660
 
632
661
  ## 4.0.0
633
662
 
634
663
  ### Major Changes
635
664
 
636
- - 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`.
665
+ - 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`.
637
666
 
638
667
  ## 3.0.1
639
668
 
640
669
  ### Patch Changes
641
670
 
642
- - 6e4fbeed: Make sure simplified fixtures call copes with return values from React.forwardRef
671
+ - 6e4fbeed: Make sure simplified fixtures call copes with return values from React.forwardRef
643
672
 
644
673
  ## 3.0.0
645
674
 
646
675
  ### Major Changes
647
676
 
648
- - 9a43cc06: Allow for autogenerating titles in Storybook
677
+ - 9a43cc06: Allow for autogenerating titles in Storybook
649
678
 
650
679
  ### Patch Changes
651
680
 
652
- - 222cb8db: Add simplified signature for common usage of `fixtures` function
681
+ - 222cb8db: Add simplified signature for common usage of `fixtures` function
653
682
 
654
683
  ## 2.0.8
655
684
 
656
685
  ### Patch Changes
657
686
 
658
- - Updated dependencies [34407c4a]
659
- - @khanacademy/wonder-blocks-data@7.0.0
687
+ - Updated dependencies [34407c4a]
688
+ - @khanacademy/wonder-blocks-data@7.0.0
660
689
 
661
690
  ## 2.0.7
662
691
 
663
692
  ### Patch Changes
664
693
 
665
- - Updated dependencies [5ad01891]
666
- - @khanacademy/wonder-blocks-data@6.0.1
694
+ - Updated dependencies [5ad01891]
695
+ - @khanacademy/wonder-blocks-data@6.0.1
667
696
 
668
697
  ## 2.0.6
669
698
 
670
699
  ### Patch Changes
671
700
 
672
- - Updated dependencies [1f34c4e8]
673
- - Updated dependencies [885fe62b]
674
- - Updated dependencies [5c852025]
675
- - Updated dependencies [c91f3959]
676
- - Updated dependencies [5d614ed4]
677
- - Updated dependencies [753220a4]
678
- - @khanacademy/wonder-blocks-data@6.0.0
701
+ - Updated dependencies [1f34c4e8]
702
+ - Updated dependencies [885fe62b]
703
+ - Updated dependencies [5c852025]
704
+ - Updated dependencies [c91f3959]
705
+ - Updated dependencies [5d614ed4]
706
+ - Updated dependencies [753220a4]
707
+ - @khanacademy/wonder-blocks-data@6.0.0
679
708
 
680
709
  ## 2.0.5
681
710
 
682
711
  ### Patch Changes
683
712
 
684
- - Updated dependencies [c9922b34]
685
- - @khanacademy/wonder-blocks-data@5.0.1
713
+ - Updated dependencies [c9922b34]
714
+ - @khanacademy/wonder-blocks-data@5.0.1
686
715
 
687
716
  ## 2.0.4
688
717
 
689
718
  ### Patch Changes
690
719
 
691
- - Updated dependencies [5b5f85ac]
692
- - @khanacademy/wonder-blocks-data@5.0.0
720
+ - Updated dependencies [5b5f85ac]
721
+ - @khanacademy/wonder-blocks-data@5.0.0
693
722
 
694
723
  ## 2.0.3
695
724
 
696
725
  ### Patch Changes
697
726
 
698
- - Updated dependencies [7c9dd09b]
699
- - Updated dependencies [febc7309]
700
- - Updated dependencies [bffc345e]
701
- - @khanacademy/wonder-blocks-data@4.0.0
727
+ - Updated dependencies [7c9dd09b]
728
+ - Updated dependencies [febc7309]
729
+ - Updated dependencies [bffc345e]
730
+ - @khanacademy/wonder-blocks-data@4.0.0
702
731
 
703
732
  ## 2.0.2
704
733
 
705
734
  ### Patch Changes
706
735
 
707
- - Updated dependencies [6973afa2]
708
- - @khanacademy/wonder-blocks-data@3.2.0
736
+ - Updated dependencies [6973afa2]
737
+ - @khanacademy/wonder-blocks-data@3.2.0
709
738
 
710
739
  ## 2.0.1
711
740
 
712
741
  ### Patch Changes
713
742
 
714
- - 9931ae6b: Simplify GQL types
715
- - Updated dependencies [9931ae6b]
716
- - @khanacademy/wonder-blocks-data@3.1.3
743
+ - 9931ae6b: Simplify GQL types
744
+ - Updated dependencies [9931ae6b]
745
+ - @khanacademy/wonder-blocks-data@3.1.3
717
746
 
718
747
  ## 2.0.0
719
748
 
720
749
  ### Major Changes
721
750
 
722
- - 274caaac: Remove isolateModules (now implemented by @khanacademy/wonder-stuff-testing), export GQL framework, export fixture framework types
751
+ - 274caaac: Remove isolateModules (now implemented by @khanacademy/wonder-stuff-testing), export GQL framework, export fixture framework types
723
752
 
724
753
  ### Patch Changes
725
754
 
726
- - @khanacademy/wonder-blocks-data@3.1.2
755
+ - @khanacademy/wonder-blocks-data@3.1.2
727
756
 
728
757
  ## 1.0.0
729
758
 
730
759
  ### Major Changes
731
760
 
732
- - 4ff59815: Add GraphQL fetch mock support to wonder-blocks-testing
761
+ - 4ff59815: Add GraphQL fetch mock support to wonder-blocks-testing
733
762
 
734
763
  ### Patch Changes
735
764
 
736
- - Updated dependencies [4ff59815]
737
- - @khanacademy/wonder-blocks-data@3.1.1
765
+ - Updated dependencies [4ff59815]
766
+ - @khanacademy/wonder-blocks-data@3.1.1
738
767
 
739
768
  ## 0.0.2
740
769
 
741
770
  ### Patch Changes
742
771
 
743
- - d2dba67a: Implemented the fixture framework and added the storybook adapter for it
744
- - b7a100f2: Add the new wonder-blocks-testing package
772
+ - d2dba67a: Implemented the fixture framework and added the storybook adapter for it
773
+ - b7a100f2: Add the new wonder-blocks-testing package
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Khan Academy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-testing",
3
- "version": "15.0.5",
3
+ "version": "15.1.1",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,19 +9,15 @@
9
9
  "main": "dist/index.js",
10
10
  "module": "dist/es/index.js",
11
11
  "types": "dist/index.d.ts",
12
- "scripts": {
13
- "test": "echo \"Error: no test specified\" && exit 1",
14
- "prepublishOnly": "../../utils/publish/package-pre-publish-check.sh"
15
- },
16
12
  "dependencies": {
17
- "@babel/runtime": "^7.18.6",
18
- "@khanacademy/wonder-blocks-core": "^12.0.0",
19
- "@khanacademy/wonder-blocks-data": "^14.0.7",
20
- "@khanacademy/wonder-blocks-testing-core": "^2.0.1"
13
+ "@babel/runtime": "^7.24.5",
14
+ "@khanacademy/wonder-blocks-core": "12.1.1",
15
+ "@khanacademy/wonder-blocks-data": "14.1.1",
16
+ "@khanacademy/wonder-blocks-testing-core": "2.1.1"
21
17
  },
22
18
  "peerDependencies": {
23
- "@khanacademy/wonder-stuff-core": "^1.2.2",
24
- "@storybook/addon-actions": "^8.2.1",
19
+ "@khanacademy/wonder-stuff-core": "^1.5.4",
20
+ "@storybook/addon-actions": "^8.5.2",
25
21
  "aphrodite": "^1.2.5",
26
22
  "node-fetch": "^2.6.7",
27
23
  "react": "18.2.0",
@@ -29,9 +25,12 @@
29
25
  "react-router-dom": "5.3.4"
30
26
  },
31
27
  "devDependencies": {
32
- "@khanacademy/wb-dev-build-settings": "^2.0.0",
33
- "@khanacademy/wonder-stuff-testing": "^3.0.1"
28
+ "@khanacademy/wonder-stuff-testing": "^3.0.5",
29
+ "@khanacademy/wb-dev-build-settings": "2.1.1"
34
30
  },
35
31
  "author": "",
36
- "license": "MIT"
32
+ "license": "MIT",
33
+ "scripts": {
34
+ "test": "echo \"Error: no test specified\" && exit 1"
35
+ }
37
36
  }