REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.09 KB
Close
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/styled-components/test-utils/setupTestFramework.ts
Text
Base64
const consoleError = console.error; const suppressedErrors = [ 'Error: Could not parse CSS stylesheet', 'Warning: Use the `defaultValue` or `value` props instead of setting children on <textarea>', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 'Warning: <%s /> is using incorrect casing.', 'Warning: The tag <%s> is unrecognized in this browser.', 'Warning: React does not recognize the `%s` prop on a DOM element.', 'Warning: %s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.', 'Warning: renderToNodeStream is deprecated. Use renderToPipeableStream instead.', ]; beforeEach(() => { // Suppress errors from JSDOM CSS parser // See: https://github.com/jsdom/jsdom/issues/2177 console.error = jest.fn((logged: any) => { const message = logged.stack || logged; if ( typeof message !== 'string' || !suppressedErrors.some(suppressedError => message.includes(suppressedError)) ) { consoleError(logged); } }); }); afterEach(() => { console.error = consoleError; });
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.ts
1.24 KB
lrw-r--r--
2026-02-28 11:43:00
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
setupTestFramework.ts
1.09 KB
lrw-r--r--
2026-02-28 11:43:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).