remove tests for computed that was removed.
This commit is contained in:
parent
e898cb4e23
commit
0383dc783f
1 changed files with 0 additions and 32 deletions
|
|
@ -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', () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue