Skip to content

Commit

Permalink
fix: update test for a button and changelog (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaRybkina authored Sep 19, 2023
1 parent b9bc317 commit 4eb675e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 0 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
## [1.0.1-next.1](https://github.com/warp-ds/vue/compare/v1.0.0...v1.0.1-next.1) (2023-09-18)


### Bug Fixes

* add test case for negative button as it is not just modifier anymore but it is own button type ([#63](https://github.com/warp-ds/vue/issues/63)) ([c9d4950](https://github.com/warp-ds/vue/commit/c9d4950278ee7bbddc80709b3a2161009c15aa2a))
* **buttons:** set secondary variant styles by default ([#67](https://github.com/warp-ds/vue/issues/67)) ([cde4077](https://github.com/warp-ds/vue/commit/cde407790650b8b694b2cd5d26ede774719a8ae3))
* **changelog:** remove changes related to unreleased commits ([#68](https://github.com/warp-ds/vue/issues/68)) ([364a355](https://github.com/warp-ds/vue/commit/364a355e45c4c32ce39458e00f86da797000c8e6))
* use new button classes and improve conditions ([#62](https://github.com/warp-ds/vue/issues/62)) ([1c9fa6c](https://github.com/warp-ds/vue/commit/1c9fa6c4326d2527f1db58f6d94c19ab3e215031))

## [1.0.1-next.1](https://github.com/warp-ds/vue/compare/v1.0.0...v1.0.1-next.1) (2023-09-01)


Expand Down
4 changes: 4 additions & 0 deletions test/wButton.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ describe('button', () => {
const wrapper = mount(wButton, { props: { small: true, quiet: true } })
assert.include(wrapper.classes().join(' '), ccButton.secondarySmallQuiet)
})
test('small & quiet & loading with no variant should default to secondary small quiet loading', () => {
const wrapper = mount(wButton, { props: { small: true, quiet: true, loading: true } })
assert.include(wrapper.classes().join(' '), ccButton.secondarySmallQuietLoading)
})
test('href', () => {
const href = 'https://finn.no'
const wrapper = mount(wButton, { props: { label, href } })
Expand Down

0 comments on commit 4eb675e

Please sign in to comment.