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
470 B
Text
16 lines
470 B
Text
import * as lib from '@react-email/components'
|
|
import { Heading } from '@react-email/components'
|
|
import Hook from '../../index.js'
|
|
import { strictEqual } from 'assert'
|
|
|
|
Hook((exports, name) => {
|
|
if (name.match(/@react-email\/components/)) {
|
|
exports.Heading = function wrappedHeading () {
|
|
return 'heading-wrapped'
|
|
}
|
|
}
|
|
})
|
|
|
|
strictEqual(typeof lib.Button, 'function')
|
|
strictEqual(lib.Heading(), 'heading-wrapped')
|
|
strictEqual(Heading(), 'heading-wrapped')
|