MCPcopy
hub / github.com/vercel/next.js / appPageCode

Function appPageCode

test/development/basic/next-rs-api.test.ts:146–149  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

144}
145
146function appPageCode(text) {
147 return `import Client from "./client.tsx";
148export default () => <div>${text}<Client /></div>;`
149}
150
151describe('next.rs api writeToDisk multiple times', () => {
152 it('should allow to write to disk multiple times', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected