Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

381 B
Raw Blame
import {
  ASYNC_JOBS_INITIALIZER,
  RAILS_PID_FILE,
  SLOT_PROBES_INITIALIZER,
  TEST_INTEGRATION_INITIALIZER,
} from './paths'
import { rmIfExists, stopRails } from './rails'

export default async function globalTeardown() {
  rmIfExists(ASYNC_JOBS_INITIALIZER)
  rmIfExists(TEST_INTEGRATION_INITIALIZER)
  rmIfExists(SLOT_PROBES_INITIALIZER)
  await stopRails(RAILS_PID_FILE)
}