remove tests for computed that was removed.

This commit is contained in:
Bill Richardson 2024-05-22 11:56:42 -04:00
parent e898cb4e23
commit 0383dc783f

View file

@ -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', () => {