-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
test: delete temp directory #1958
Conversation
Currently, main.css doesn't delete after running tests and it causes the errors of prettier.
@@ -40,11 +40,11 @@ describe('SockJSServer', () => { | |||
|
|||
const client = new SockJS('http://localhost:8080/sockjs-node'); | |||
|
|||
client.onmessage = function(e) { | |||
client.onmessage = (e) => { |
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.
warning Unexpected unnamed function func-names
data.push(e.data); | ||
}; | ||
|
||
client.onclose = function() { | ||
client.onclose = () => { |
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.
warning Unexpected unnamed function func-names
Codecov Report
@@ Coverage Diff @@
## master #1958 +/- ##
=======================================
Coverage 92.58% 92.58%
=======================================
Files 27 27
Lines 985 985
Branches 307 307
=======================================
Hits 912 912
Misses 70 70
Partials 3 3 Continue to review full report at Codecov.
|
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.
👍
For Bugs and Features; did you add new tests?
modify only
Motivation / Use-Case
Currently, main.css doesn't delete after running tests and it causes the errors of prettier.
In addition, we don't need
temp
directory. If you want it, you can usefs.mkdtemp
.Breaking Changes
no
Additional Info