Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

⚠ WIP: Repair karma tests #894

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from
Open

⚠ WIP: Repair karma tests #894

wants to merge 18 commits into from

Conversation

OliverNeff
Copy link
Collaborator

@OliverNeff OliverNeff commented Oct 21, 2018

Description:

Karma tests are now runnable again, but there are a lot of tests failures in it.

Closes #655

Improvements

  • Make karma tests runnable.

Known Issues:

NONE

@@ -53,10 +53,9 @@
"ngx-lightbox": "^1.0.2",
"node-sass": "^4.9.2",
"raven-js": "^3.26.2",
"socket.io": "^2.1.0",
Copy link
Contributor

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?

Copy link
Collaborator Author

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.

Copy link
Contributor

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

Copy link
Collaborator Author

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.

@kesselb
Copy link
Contributor

kesselb commented Oct 21, 2018

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.

@coveralls
Copy link

coveralls commented Oct 23, 2018

Pull Request Test Coverage Report for Build 207

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.4%) to 74.958%

Totals Coverage Status
Change from base Build 202: 1.4%
Covered Lines: 1749
Relevant Lines: 2234

💛 - Coveralls

@OliverNeff OliverNeff added the dependencies Pull requests that update a dependency file label Oct 25, 2018
@kesselb kesselb added the web-frontend All frontend related issues label Oct 25, 2018
dboschm
dboschm previously requested changes Nov 8, 2018
Copy link
Collaborator

@dboschm dboschm left a 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

@kesselb
Copy link
Contributor

kesselb commented Mar 20, 2019

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file web-frontend All frontend related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configuration for ng test broken
4 participants