remove test - no longer applicable
This commit is contained in:
parent
8c2649135d
commit
403b0e5807
1 changed files with 0 additions and 25 deletions
|
|
@ -127,31 +127,6 @@ describe("glass-part-question.vue", () => {
|
|||
// Assert
|
||||
expect(wrapper.vm.selectedPartNumber).toBe("DB12209GTYN");
|
||||
});
|
||||
|
||||
test("first is selected if more than one option", async () => {
|
||||
// Arrange
|
||||
featureListData.pageData = {
|
||||
partsOrQuestions: [
|
||||
{
|
||||
glassName: "Stationary",
|
||||
glassLocation: "Rear",
|
||||
parts: [
|
||||
{ partNumber: "DB12209GTYN", color: "Green Tint" },
|
||||
{ partNumber: "DB12209GTYNXXX", color: "Green Tint" },
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
const { wrapper } = setupMocks(featureListData);
|
||||
|
||||
// Act
|
||||
await wrapper.vm.$nextTick();
|
||||
await wrapper.setData({ selectedTint: "Green Tint" });
|
||||
await wrapper.vm.$nextTick();
|
||||
|
||||
// Assert
|
||||
expect(wrapper.emitted()["update:modelValue"]).toBeTruthy();
|
||||
});
|
||||
|
||||
const partsForSelectedTintTestCases = [
|
||||
[
|
||||
|
|
|
|||
Loading…
Reference in a new issue