function resolveFixturePath(fixture) {
  if (
    path.extname(fixture) !== '.js' &&
    path.extname(fixture) !== '.mjs' &&
    path.extname(fixture) !== '.ts'
  ) {
    fixture += '.fixture.js';
  }
  return path.isAbsolute(fixture)
    ? fixture
    : path.resolve(__dirname, 'fixtures', fixture);
}
Given a fixture "name" (a relative path from `${__dirname}/fixtures`),
with or without extension, or an absolute path, resolve a fixture filepath
@param {string} fixture - Fixture name
@returns {string} Resolved filepath