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>
10 lines
334 B
Text
10 lines
334 B
Text
import { strictEqual } from 'assert'
|
|
import * as foo from './foo.mjs'
|
|
import { dirname, join } from 'path'
|
|
import { fileURLToPath } from 'url'
|
|
|
|
const fooPath = join(dirname(fileURLToPath(import.meta.url)), 'foo.mjs')
|
|
|
|
strictEqual(typeof foo.foo, 'function')
|
|
strictEqual(global.hooked.length, 1)
|
|
strictEqual(global.hooked[0], fooPath)
|