Sha256: c08a0d1b677e2a1e6f8d0d1170f0cf4019de488a6765f465865926f7652d5620

Contents?: true

Size: 592 Bytes

Versions: 26

Compression:

Stored size: 592 Bytes

Contents

import { relative } from 'pathe';
import '@vitest/runner/utils';
import '@vitest/utils';
import { g as getWorkerState } from './utils.Ck2hJTRs.js';
import './env.CmHVDJnw.js';

function getRunMode() {
  return getWorkerState().config.mode;
}
function isRunningInBenchmark() {
  return getRunMode() === "benchmark";
}
const relativePath = relative;
function removeUndefinedValues(obj) {
  for (const key in Object.keys(obj)) {
    if (obj[key] === void 0) {
      delete obj[key];
    }
  }
  return obj;
}

export { removeUndefinedValues as a, isRunningInBenchmark as i, relativePath as r };

Version data entries

26 entries across 26 versions & 1 rubygems

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