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
373 B
Text
10 lines
373 B
Text
import { strictEqual } from 'assert'
|
|
|
|
// We dynamically import a specific file that imports the
|
|
// native module for this platform and architecture.
|
|
//
|
|
// This way we know the file exists and the native module can
|
|
// be loaded.
|
|
const lib = await import(`../fixtures/native-modules/${process.platform}-${process.arch}.js`)
|
|
|
|
strictEqual(typeof lib.default.crc32, 'function')
|