-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change some class names and fix tests
- Loading branch information
Hugo
authored and
Hugo
committed
Aug 24, 2018
1 parent
52d5cf4
commit 3e16826
Showing
9 changed files
with
44 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 12 additions & 18 deletions
30
test/unit/specs/components/repository/__snapshots__/IntentsAndLabelsCard.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,33 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`RepositoryCard.vue RepositoryCard.vue renders correctly with diferents props When labelEntities array props have a array. Renders correctly 1`] = ` | ||
exports[`IntentsAndLabelsCard.vue renders correctly 1`] = ` | ||
<bhcard-stub> | ||
<div class="i-a-l-card"> | ||
<div class="i-a-l-card__left"> | ||
<div class="i-a-l-card__left__content"><strong>dog</strong> | ||
<div class="i-a-l-card__left__content__info"> | ||
<p><strong>0</strong> Sentences</p> | ||
<p><strong>0</strong> Entities</p> | ||
<div class="i-a-l-card__left__content__info"><span><strong>0</strong> Sentences</span> | ||
<!----> | ||
</div> | ||
</div> | ||
<p>Entities</p> | ||
</div> | ||
<div slot="append" class="entities"> | ||
<bhbadge-stub class="entities__entity entity-sunflower"><span>Dog</span></bhbadge-stub> | ||
<bhbadge-stub class="entities__entity entity-energos"><span>Cat</span></bhbadge-stub> | ||
<bhbadge-stub class="entities__entity entity-blue-martina"><span>Buy</span></bhbadge-stub> | ||
<!----> | ||
</div> | ||
<!----> | ||
</div> | ||
</bhcard-stub> | ||
`; | ||
|
||
exports[`RepositoryCard.vue renders correctly 1`] = ` | ||
exports[`IntentsAndLabelsCard.vue renders correctly with diferents props When labelEntities array props have a array. Renders correctly 1`] = ` | ||
<bhcard-stub> | ||
<div class="i-a-l-card"> | ||
<div class="i-a-l-card__left"> | ||
<div class="i-a-l-card__left__content"><strong>dog</strong> | ||
<div class="i-a-l-card__left__content__info"> | ||
<p><strong>0</strong> Sentences</p> | ||
<!----> | ||
</div> | ||
</div> | ||
<!----> | ||
<div class="i-a-l-card__left__content__info"><span><strong>0</strong> Sentences</span> <span><strong>0</strong> Entities</span></div> | ||
</div> <span>Entities</span></div> | ||
<div slot="append" class="entities"> | ||
<bhbadge-stub class="entities__entity entity-sunflower"><span>Dog</span></bhbadge-stub> | ||
<bhbadge-stub class="entities__entity entity-energos"><span>Cat</span></bhbadge-stub> | ||
<bhbadge-stub class="entities__entity entity-blue-martina"><span>Buy</span></bhbadge-stub> | ||
</div> | ||
<!----> | ||
</div> | ||
</bhcard-stub> | ||
`; |
2 changes: 1 addition & 1 deletion
2
test/unit/specs/components/repository/__snapshots__/IntentsAndLabelsList.spec.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters