Skip to content

Commit

Permalink
add github promo to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Jara committed Dec 28, 2017
1 parent 06155c7 commit 65fa6aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Binary file added .github/promo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions README.md
@@ -1,6 +1,4 @@
# vue-swatches #

Help the uer picking beautiful colors
![Vue-Swatches Promo](https://raw.githubusercontent.com/saintplay/vue-swatches/blob/master/.github/promo.png)

## Contributing ##

Expand Down
3 changes: 1 addition & 2 deletions test/unit/specs/Swatches.spec.js
Expand Up @@ -883,12 +883,11 @@ describe('Props', () => {
colors
}
})

componentWrapper.setProps({ value: '#a156e2' })
const selectedSwatch = componentWrapper.findAll(Swatch).wrappers.filter(s => s.vm.selected)[0]

return Vue.nextTick()
.then(() => {
const selectedSwatch = componentWrapper.findAll(Swatch).wrappers.filter(s => s.vm.selected)[0]
expect(selectedSwatch.vm.swatchColor)
.toEqual('#a156e2')
})
Expand Down

0 comments on commit 65fa6aa

Please sign in to comment.