How to use the @cardstack/test-support/temp-helper.cleanup function in @cardstack/test-support

To help you get started, we’ve selected a few @cardstack/test-support examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cardstack / cardstack / packages / hub / node-tests / support.js View on Github external
exports.destroyDefaultEnvironment = async function(env) {
  await env.teardown();
  await destroyIndices();
  await temp.cleanup();
};

@cardstack/test-support

Shared test support for cardstack packages.

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Similar packages