Commit ded5c61
Summary:
Pull Request resolved: #58720
Internal and OSS Flow disagreed on DOM builtins, so suppressions removed in #1965 were unused in OSS but needed internally.
- .flowconfig: builtin_lib=flowlib-with-lib-dom-d-ts
- Delete copied DOM libdefs flow-typed/environment/{bom,dom,cssom,serviceworkers,streams}.js
- flow-typed/environment/node.js: use globalThis.Blob; drop an unused suppression
- Restore suppressions needed under lib.dom.d.ts Console (index-test.js, resolver-test.js, logToConsole.js) and drop ones now unused
- HMRClient-test.js: mock WebSocket via jest.spyOn(global, 'WebSocket', 'get') instead of writing the readonly global
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D122152628
1 parent 7ca1b42 commit ded5c61
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
3756 | 3756 | | |
3757 | 3757 | | |
3758 | 3758 | | |
3759 | | - | |
3760 | 3759 | | |
3761 | 3760 | | |
3762 | 3761 | | |
| |||
0 commit comments