Remove unneeded test.
This commit is contained in:
parent
2d025de7b4
commit
065b13b4a3
1 changed files with 0 additions and 16 deletions
|
|
@ -2,22 +2,6 @@ import { shallowMount } from "@vue/test-utils";
|
||||||
import buttonQuestion from "@/digital-components/button-question/button-question";
|
import buttonQuestion from "@/digital-components/button-question/button-question";
|
||||||
import { getMountOptions } from "@/helpers/unit-test-helper.js";
|
import { getMountOptions } from "@/helpers/unit-test-helper.js";
|
||||||
|
|
||||||
describe("buttonQuestion.vue", () => {
|
|
||||||
it("Should show overflow classes on fieldset if isOverflowScrollable is true", () => {
|
|
||||||
// Act
|
|
||||||
const wrapper = shallowMount(buttonQuestion, {
|
|
||||||
propsData: {
|
|
||||||
isOverflowScrollable: true,
|
|
||||||
groupName: "group-name",
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
// Assert
|
|
||||||
const fieldSet = wrapper.find("fieldset");
|
|
||||||
expect(fieldSet.classes()).toContain("overflow-scroll");
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
describe("buttonQuestion.vue", () => {
|
describe("buttonQuestion.vue", () => {
|
||||||
it("Fieldset classes should contain row if button type is listCard", () => {
|
it("Fieldset classes should contain row if button type is listCard", () => {
|
||||||
// Act
|
// Act
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue