From 0383dc783fe7fbbabfda988ef8860fa0e8145a6d Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 22 May 2024 11:56:42 -0400 Subject: [PATCH] remove tests for computed that was removed. --- .../textbox-question/textbox-question.spec.js | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/src/digital-components/textbox-question/textbox-question.spec.js b/src/digital-components/textbox-question/textbox-question.spec.js index f7a31e03..fef8bca5 100644 --- a/src/digital-components/textbox-question/textbox-question.spec.js +++ b/src/digital-components/textbox-question/textbox-question.spec.js @@ -722,38 +722,6 @@ describe('TextboxQuestion', () => { expect(wrapper.emitted('update:modelValue')[0]).toEqual([newValue]); // emitted with expected payload }); }); - describe('labelText', () => { - test('should return the question text with no break characters if disableAutoFill is true', () => { - // Arrange - const disableAutoFill = true; - const wrapper = shallowMount(textboxQuestion, { - propsData: { disableAutoFill }, - mixins: [mockMixin], - global: { - directives: { maska: jest.fn() } - } - }); - // TODO this seems like strange behavior to me - const expectedLabelText = 'Q⁠uestion T⁠ext'; - - // Assert - expect(wrapper.vm.labelText).toBe(expectedLabelText); - }); - test('should return the question text as it is if disableAutoFill is false', () => { - // Arrange - const disableAutoFill = false; - const wrapper = shallowMount(textboxQuestion, { - propsData: { disableAutoFill }, - mixins: [mockMixin], - global: { - directives: { maska: jest.fn() } - } - }); - - // Assert - expect(wrapper.vm.labelText).toBe(questionText); - }); - }); }); describe('watch', () => {