ran prettier-fix

This commit is contained in:
hayzach 2022-10-03 14:34:19 +11:00
parent 242fc3b2f2
commit 692156b060
3 changed files with 8 additions and 8 deletions

View File

@ -1,19 +1,19 @@
// jest.config.js
const nextJest = require("next/jest");
const nextJest = require('next/jest');
const createJestConfig = nextJest({
// Provide the path to your Next.js app to load next.config.js and .env files in your test environment
dir: "./",
dir: './',
});
// Add any custom config to be passed to Jest
/** @type {import('jest').Config} */
const customJestConfig = {
// Add more setup options before each test is run
setupFilesAfterEnv: ["<rootDir>/jest.setup.js"],
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
// if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
moduleDirectories: ["node_modules", "<rootDir>/"],
testEnvironment: "jest-environment-jsdom",
moduleDirectories: ['node_modules', '<rootDir>/'],
testEnvironment: 'jest-environment-jsdom',
};
// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async

View File

@ -1 +1 @@
import "@testing-library/jest-dom";
import '@testing-library/jest-dom';

View File

@ -8,8 +8,8 @@ class Workout {
this.name = name;
this.muscleGroups = muscleGroups;
this.imgSrc =
"https://images.pexels.com/photos/3837781/pexels-photo-3837781.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1";
this.imgAlt = "A man doing a bench press.";
'https://images.pexels.com/photos/3837781/pexels-photo-3837781.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1';
this.imgAlt = 'A man doing a bench press.';
}
}