Files
Jiachi LiuandGitHub 5e2ad29309 Migrate rsc tests to app dir tests (#38158)
### Tests 
* keep node & edge for streaming
* separate rsc tests from streaming tests
* move rsc tests to app-dir, disable the broken ones for now
2022-06-29 23:12:57 +00:00

15 lines
234 B
JavaScript

let EOF
if (typeof window === 'undefined') {
EOF = require('dns').EOF
}
export default function Index() {
console.log(EOF)
return 'Access Node.js native module dns'
}
export const config = {
runtime: 'experimental-edge',
}