Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
messenger
Commits
3bf066cf
Commit
3bf066cf
authored
Dec 26, 2020
by
JeongYeonwoo
Browse files
Profile Page
parent
0f4063ea
Changes
23
Hide whitespace changes
Inline
Side-by-side
client/src/reportWebVitals.js
0 → 100644
View file @
3bf066cf
const
reportWebVitals
=
onPerfEntry
=>
{
if
(
onPerfEntry
&&
onPerfEntry
instanceof
Function
)
{
import
(
'
web-vitals
'
).
then
(({
getCLS
,
getFID
,
getFCP
,
getLCP
,
getTTFB
})
=>
{
getCLS
(
onPerfEntry
);
getFID
(
onPerfEntry
);
getFCP
(
onPerfEntry
);
getLCP
(
onPerfEntry
);
getTTFB
(
onPerfEntry
);
});
}
};
export
default
reportWebVitals
;
client/src/setupTests.js
0 → 100644
View file @
3bf066cf
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import
'
@testing-library/jest-dom
'
;
client/yarn.lock
0 → 100644
View file @
3bf066cf
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment