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