-
Notifications
You must be signed in to change notification settings - Fork 70
⚠ WIP: Repair karma tests #894
base: develop
Are you sure you want to change the base?
Conversation
app/webFrontend/package.json
Outdated
@@ -53,10 +53,9 @@ | |||
"ngx-lightbox": "^1.0.2", | |||
"node-sass": "^4.9.2", | |||
"raven-js": "^3.26.2", | |||
"socket.io": "^2.1.0", |
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.
I'm not sure about this one. Why do you remove it?
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.
It seems that this dependency was just used by one karma test. I'am not sure if we need it.
We use just rest and no sockets in my opinion.
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.
Afaik forum uses socket.io
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.
Well, then we need it probably.
I guess you know a bit about these tests? Could you have a look at https://github.com/geli-lms/geli/blob/develop/app/webFrontend/src/app/shared/services/snack-bar.service.spec.ts? These test is broken since we added i18n but I haven't figured out yet howto fix this. |
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.
please revert not used package-lock.json
commits (api and root)
and move changelog entry to unreleased
# Conflicts: # app/webFrontend/package-lock.json # app/webFrontend/package.json
@OliverNeff pushed some changes to your pr. Could you have a look at the app.component test? I'm not sure how to fix it properly. |
Description:
Karma tests are now runnable again, but there are a lot of tests failures in it.
Closes #655
Improvements
Known Issues:
NONE