-
Notifications
You must be signed in to change notification settings - Fork 98
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
add specs for update method and value watcher #1776
add specs for update method and value watcher #1776
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1776 +/- ##
===========================================
+ Coverage 97.72% 97.85% +0.12%
===========================================
Files 103 102 -1
Lines 2110 2096 -14
Branches 92 93 +1
===========================================
- Hits 2062 2051 -11
+ Misses 39 37 -2
+ Partials 9 8 -1
|
2 similar comments
Codecov Report
@@ Coverage Diff @@
## develop #1776 +/- ##
===========================================
+ Coverage 97.72% 97.85% +0.12%
===========================================
Files 103 102 -1
Lines 2110 2096 -14
Branches 92 93 +1
===========================================
- Hits 2062 2051 -11
+ Misses 39 37 -2
+ Partials 9 8 -1
|
Codecov Report
@@ Coverage Diff @@
## develop #1776 +/- ##
===========================================
+ Coverage 97.72% 97.85% +0.12%
===========================================
Files 103 102 -1
Lines 2110 2096 -14
Branches 92 93 +1
===========================================
- Hits 2062 2051 -11
+ Misses 39 37 -2
+ Partials 9 8 -1
|
Codecov Report
@@ Coverage Diff @@
## develop #1776 +/- ##
==========================================
Coverage ? 97.85%
==========================================
Files ? 102
Lines ? 2096
Branches ? 93
==========================================
Hits ? 2051
Misses ? 37
Partials ? 8 |
@@ -1,6 +1,8 @@ | |||
import { mount } from "@vue/test-utils" | |||
import htmlBeautify from "html-beautify" | |||
import TmFieldSeed from "common/TmFieldSeed" | |||
import autosize from "autosize" | |||
const spy = jest.spyOn(autosize, `update`) |
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.
This should probably go into a beforeEach
to prevent side effects from others tests.
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.
Or just into the according test.
Ping @coreycosman |
i messaged him - he may be travelling / on vacation. |
…te-to-100%-coverage
unit tests failing |
do you have any idea why e2e test # 42 - line 198 of test/e2e/signin.js would have broken because of the unit tests I wrote? I do not quite understand how my tests are affecting the e2e tests, or how to correct this error. Any help is greatly appreciated. |
E2E tests are sometimes unreliable because of async problems. If your unit tests run fine, I will make the PR pass. |
Yea all tests are running fine
…On Wed, Jan 16, 2019 at 4:47 PM Fabian ***@***.***> wrote:
E2E tests are sometimes unreliable because of async problems. If your unit
tests run fine, I will make the PR pass.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1776 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/Ad4GWLnq7m5WwTVJ0BIJXr6JyqzLY5eXks5vDx9bgaJpZM4Zf-0X>
.
|
Unit tests are broken: |
please see my most recent PR |
I will close this then, let's use the other PR |
Closes #1774
Description:
added specs for update method and value watcher- test coverage to 100% for this file.
❤️ Thank you!
CHANGELOG.md
with issue # and GitHub usernameFiles changed
in the github PR explorer