import { defineConfig } from 'vitest/config'

// Mirrors frontend/vitest.config.js, minus the Vue plugin — the extension has
// no SFCs and mounts nothing. Pure-logic specs only, so `node` is enough; the
// libs under test are deliberately the ones with no browser-API surface (see
// test/helpers/loadLib.js).
export default defineConfig({
  test: {
    environment: 'node',
    include: ['test/**/*.spec.js'],
    passWithNoTests: true
  }
})
