Rocky_Mountain_Vending/.pnpm-store/v10/files/f5/dccb389ab987f8d8639ed2e98b070ed3029623cbee27d330ff7c5bf6e742a1ce3d38dfeab60931aad42855a3d43bcd07032e21a757f5d5ed2b84d7efd4e1fe
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

19 lines
462 B
Text

import assert from 'node:assert/strict'
import defaultHook, { Hook, addHook } from '../../index.js'
import { sayHi } from '../fixtures/say-hi.mjs'
addHook((url, exported) => {
if (url.toLowerCase().endsWith('say-hi.mts')) {
exported.sayHi = () => 'Hooked'
}
})
new defaultHook((exported: any, name: string, baseDir: string|void) => {
});
new Hook((exported: any, name: string, baseDir: string|void) => {
});
assert.equal(sayHi('test'), 'Hooked')