Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
367 B
Text
14 lines
367 B
Text
import { register } from 'module'
|
|
import Hook from '../../index.js'
|
|
import { strictEqual } from 'assert'
|
|
|
|
register('../../hook.mjs', import.meta.url, { data: { experimentalPatchInternals: true } })
|
|
|
|
Hook(['c8'], (exports, name) => {
|
|
strictEqual(name, 'c8')
|
|
exports.Report = () => 42
|
|
})
|
|
|
|
const { Report } = await import('c8/index.js')
|
|
|
|
strictEqual(Report({}), 42)
|