���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules.1
/
nuxi
/
dist
/
chunks
/
Viewing: test.mjs
import { d as defineCommand } from '../shared/nuxi.fefc5017.mjs'; import { s as sharedArgs, l as legacyRootDirArgs, r as resolve } from '../shared/nuxi.610c92ff.mjs'; import 'node:util'; import 'node:path'; import 'node:process'; import 'node:tty'; import 'node:url'; const test = defineCommand({ meta: { name: "test", description: "Run tests" }, args: { ...sharedArgs, ...legacyRootDirArgs, cwd: { type: "string", description: "Current working directory" }, dev: { type: "boolean", description: "Run in dev mode" }, watch: { type: "boolean", description: "Watch mode" } }, async run(ctx) { process.env.NODE_ENV = process.env.NODE_ENV || "test"; const cwd = resolve(ctx.args.cwd || ctx.args.rootDir || "."); const { runTests } = await importTestUtils(); await runTests({ rootDir: cwd, dev: ctx.args.dev, watch: ctx.args.watch, ...{} }); } }); async function importTestUtils() { let err; for (const pkg of [ "@nuxt/test-utils-nightly", "@nuxt/test-utils-edge", "@nuxt/test-utils" ]) { try { const exports = await import(pkg); if (!exports.runTests) { throw new Error("Invalid version of `@nuxt/test-utils` is installed!"); } return exports; } catch (_err) { err = _err; } } console.error(err); throw new Error( "`@nuxt/test-utils` seems missing. Run `npm i -D @nuxt/test-utils` or `yarn add -D @nuxt/test-utils` to install." ); } export { test as default };
Coded With 💗 by
0x6ick Mod By V1rus_Alfa