New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added support jsdom for jest #23
Conversation
package.json
Outdated
@@ -43,6 +44,6 @@ | |||
"url-loader": "^4.1.1", | |||
"webpack": "^5.46.0", | |||
"webpack-cli": "^4.7.2", | |||
"webpack-dev-server": "^3.11.2" | |||
"webpack-dev-server": "^1.16.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Воу) это что-то слишком древняя версия
__tests__/test.js
Outdated
@@ -1,4 +1,6 @@ | |||
// @ts-check | |||
/** | |||
* @jest-environment jsdom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тут правильно это делать на уровне конфига
.idea/.gitignore
Outdated
@@ -0,0 +1,5 @@ | |||
# Default ignored files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Директории .idea не должно быть внутри репозитория
template.html
Outdated
<html lang='en'> | ||
<head> | ||
|
||
<title>Webpack template</title> | ||
</head> | ||
<body> | ||
<div id='point'></div> | ||
</body> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Пропало форматирование
Здравствуйте, Кирилл! Исправил все замечания. |
👏🏻 |
No description provided.