@khanacademy/wonder-blocks-testing 15.0.5 → 15.1.0

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