Skip to content

Commit a94a16d

Browse files
committed
reorder testing files and rename them
1 parent bb681d7 commit a94a16d

File tree

6 files changed

+2
-2
lines changed

6 files changed

+2
-2
lines changed
File renamed without changes.

client/components/__test__/Nav.test.jsx renamed to client/components/Nav.unit.test.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { render } from '@testing-library/react';
33

4-
import { NavComponent } from '../Nav';
4+
import { NavComponent } from './Nav';
55

66
describe('Nav', () => {
77
const props = {

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"<rootDir>/client/jest.setup.js"
5454
],
5555
"moduleNameMapper": {
56-
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/client/__test__/mocks/fileMock.js"
56+
"^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/client/__mocks__/fileMock.js"
5757
},
5858
"testMatch": [
5959
"<rootDir>/client/**/*.test.(js|jsx)"

0 commit comments

Comments
 (0)