function replaceFixturePaths(fixturePaths, api) {
  let j = api.jscodeshift;

  for (let match of fixturePaths.literals.paths().map(p => j(p))) {
    match.replaceWith(p => p.value.raw.replace(ROOT_PATTERN, '$1'));
  }

  for (let match of fixturePaths.templates.paths().map(p => j(p))) {
    // TODO: Update the path. this probably isn't the right way?
    match.replaceWith(p => p.value.value.cooked.replace(ROOT_PATTERN, '$1'));
  }
}
Replaces the fixture paths in the test with the paths
used in the generated `fsFixture` template string.