Buckets:
| /* eslint-env jest */ | |
| import Head from 'next/head' | |
| import React from 'react' | |
| import ReactDOM from 'react-dom/server' | |
| describe('Rendering next/head', () => { | |
| it('should render outside of Next.js without error', () => { | |
| const html = ReactDOM.renderToString( | |
| React.createElement( | |
| React.Fragment, | |
| {}, | |
| React.createElement(Head), | |
| React.createElement('p', {}, 'hello world') | |
| ) | |
| ) | |
| expect(html).toContain('hello world') | |
| }) | |
| }) | |
Xet Storage Details
- Size:
- 477 Bytes
- Xet hash:
- b27687929b4695a80d4a3be090a730cef63594f1f58692cc9a2a923433de5dce
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.