Skip to content
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

Update jest-vue-preprocessor to the latest version 🚀 #300

Merged
merged 1 commit into from
Mar 16, 2018

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Mar 13, 2018

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 2.0.0 of jest-vue-preprocessor was just published.

Dependency jest-vue-preprocessor
Current Version 1.3.1
Type devDependency

The version 2.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of jest-vue-preprocessor.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v2.0.0

2.0.0 (2018-03-13)

  • Support for Functional Components (#50) (c0c0590)

BREAKING CHANGES

  • none, but in the future $el should be
    defined, as it can't be used for testing if it's
    undefined

  • fix(test): behaves differently locally

test behaves differently on travis-ci than
on my local machine, so now there is a test
to document that

  • none

  • fix(test): typeof didn't work

tried to use typeof, decided to use
casting

no breaking changes

  • fix(testing): removed context

context is needed for mounting functional components
but not as an option for a render function

no breaking changes

  • fix(testing): iie -> function

was passing an expression not a function
to onClick handler

no breaking changes

  • fix(testing): properly call props.onClick
  1. need to pass props in context object to Vue.compile
  2. need '@click="props.onClick('stuff')" VS
    '@click="() => props.onClick('stuff')"

No breaking changes

  • test(local): can't reproduce locally

can't reproduce $el.querySelector being defined
locally, yet on travis-ci it's defined.
Without it being defined I can't debugger and
figure out what the mock function isn't being called.

  • none; objeys all test criteria
    except for testing that mockFn was called
Commits

The new version differs by 5 commits.

  • df9d528 ci(travis): Remove yarn installation on travis (#54)
  • 75d5f37 chore(node): Update node engines in package.json to 8.9 (#53)
  • c0c0590 Support for Functional Components (#50)
  • 1df50d7 Show message from Babel (#45)
  • 8fec8a2 Update prettier settings (#40)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@alexandermendes alexandermendes merged commit ea985f5 into master Mar 16, 2018
@greenkeeper greenkeeper bot deleted the greenkeeper/jest-vue-preprocessor-2.0.0 branch March 16, 2018 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant