Sha256: 917a24c7b917bb3cf0716247def273561e1e506b628e849b77a1e4386df9b458

Contents?: true

Size: 1.3 KB

Versions: 26

Compression:

Stored size: 1.3 KB

Contents

import v8 from 'node:v8';
import { c as createForksRpcOptions, u as unwrapSerializableConfig } from '../chunks/utils.Cn0zI1t3.js';
import { r as runVmTests } from '../chunks/vm.CPXwWp4C.js';
import '@vitest/utils';
import 'node:vm';
import 'node:url';
import 'pathe';
import '../chunks/console.DI3gHgtH.js';
import 'node:stream';
import 'node:console';
import 'node:path';
import 'tinyrainbow';
import '../chunks/date.W2xKR2qe.js';
import '@vitest/runner/utils';
import '../chunks/utils.Ck2hJTRs.js';
import '../chunks/env.CmHVDJnw.js';
import 'std-env';
import '../chunks/execute._eQQfgI8.js';
import 'node:fs';
import 'vite-node/client';
import 'vite-node/utils';
import '@vitest/utils/error';
import '../path.js';
import '@vitest/mocker';
import 'node:module';
import 'vite-node/constants';

class ForksVmWorker {
  getRpcOptions() {
    return createForksRpcOptions(v8);
  }
  async executeTests(method, state) {
    const exit = process.exit;
    state.ctx.config = unwrapSerializableConfig(state.ctx.config);
    try {
      await runVmTests(method, state);
    } finally {
      process.exit = exit;
    }
  }
  runTests(state) {
    return this.executeTests("run", state);
  }
  collectTests(state) {
    return this.executeTests("collect", state);
  }
}
var vmForks = new ForksVmWorker();

export { vmForks as default };

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/vitest/dist/workers/vmForks.js