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
search-page
Commits
c8ae80a8
Commit
c8ae80a8
authored
Dec 26, 2020
by
Kim, Chaerin
Browse files
UI대충
parent
81c6da4b
Changes
23
Expand all
Hide whitespace changes
Inline
Side-by-side
client/src/reportWebVitals.js
0 → 100644
View file @
c8ae80a8
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 @
c8ae80a8
// 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 @
c8ae80a8
This diff is collapsed.
Click to expand it.
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