How to use git-fixtures - 1 common examples

To help you get started, we’ve selected a few git-fixtures 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 ember-cli / ember-cli-update / test / helpers / blueprint.js View on Github external
async function initBlueprint({
  fixturesPath,
  resolvedFrom,
  relativeDir
}) {
  let blueprintPath = await buildTmp({
    fixturesPath
  });

  let newBlueprintPath = path.resolve(resolvedFrom, relativeDir);

  await fs.remove(newBlueprintPath);

  await fs.move(blueprintPath, newBlueprintPath);

  return newBlueprintPath;
}

git-fixtures

Helpers for using git with fixtures in temp folders

MIT
Latest version published 2 months ago

Package Health Score

68 / 100
Full package analysis

Popular git-fixtures functions

Similar packages