Rocky_Mountain_Vending/.pnpm-store/v10/files/48/4b73303733d449ff6f8a41a68971163f7b4ceb84847d2544f456ad7abf0e2829981cc680a25148b4b150aeb2aaaebeda4ae9ba76bf92ba7723ffc61ef1ec4c
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

100 lines
No EOL
2.8 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
default: null,
defineConfig: null,
test: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
default: function() {
return _default;
},
defineConfig: function() {
return _index.defineConfig;
},
test: function() {
return test;
}
});
0 && __export(require("msw")) && __export(require("@playwright/test"));
const _index = require("./index");
const _msw = _export_star(require("msw"), exports);
const _stricteventemitter = require("strict-event-emitter");
_export_star(require("@playwright/test"), exports);
function _export_star(from, to) {
Object.keys(from).forEach(function(k) {
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
Object.defineProperty(to, k, {
enumerable: true,
get: function() {
return from[k];
}
});
}
});
return from;
}
const test = _index.test.extend({
mswHandlers: [
[],
{
option: true
}
],
msw: [
async ({ next, mswHandlers }, use)=>{
const handlers = [
...mswHandlers
];
const emitter = new _stricteventemitter.Emitter();
next.onFetch(async (request)=>{
const requestId = Math.random().toString(16).slice(2);
let isUnhandled = false;
let isPassthrough = false;
let mockedResponse;
await (0, _msw.handleRequest)(request.clone(), requestId, handlers.slice(0), {
onUnhandledRequest: ()=>{
isUnhandled = true;
}
}, emitter, {
onPassthroughResponse: ()=>{
isPassthrough = true;
},
onMockedResponse: (r)=>{
mockedResponse = r;
}
});
if (isUnhandled) {
return undefined;
}
if (isPassthrough) {
return 'continue';
}
if (mockedResponse) {
return mockedResponse;
}
return 'abort';
});
await use({
use: (...newHandlers)=>{
handlers.unshift(...newHandlers);
}
});
handlers.length = 0;
},
{
auto: true
}
]
});
const _default = test;
//# sourceMappingURL=msw.js.map