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>
16 lines
349 B
Text
16 lines
349 B
Text
import { strictEqual } from 'assert'
|
|
import { sep } from 'path'
|
|
import * as os from 'node:os'
|
|
import { Hook } from '../../index.js'
|
|
|
|
const hooked = []
|
|
|
|
Hook((_, name) => {
|
|
hooked.push(name)
|
|
})
|
|
|
|
strictEqual(hooked.length, 2)
|
|
strictEqual(hooked[0], 'path')
|
|
strictEqual(hooked[1], 'os')
|
|
strictEqual(sep, '@')
|
|
strictEqual(os.arch(), 'new_crazy_arch')
|