mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This PR adds E2E test for the new service worker syntax introduced in https://github.com/vercel/next.js/pull/94923. The tests do the following: `service-worker-multiple` tests that you can not have multiple service workers with the same scope. this is because their file names would clash; additionally, this is generally a bad practise. `service-worker-scopes` tests that you register multiple service workers with different scopes and they will be different files `service-worker` tests that service workers work when registered using the new syntax.
9 lines
140 B
JavaScript
9 lines
140 B
JavaScript
export default function AppLayout({ children }) {
|
|
return (
|
|
<html>
|
|
<head></head>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|