Update Terminal.spec.js
parent
892bfc2bd8
commit
8c52b5d509
|
@ -46,7 +46,7 @@ describe('Terminal.vue', () => {
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
expect(wrapper.find('.p-terminal-response').text()).toBe('Valid command');
|
expect(wrapper.find('.p-terminal-response').text()).toBe('Valid command');
|
||||||
}, 0);
|
}, 50);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should return invalid command', async () => {
|
it('should return invalid command', async () => {
|
||||||
|
@ -92,6 +92,6 @@ describe('Terminal.vue', () => {
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
expect(wrapper.find('.p-terminal-response').text()).toBe('Unknown command: dd');
|
expect(wrapper.find('.p-terminal-response').text()).toBe('Unknown command: dd');
|
||||||
}, 0);
|
}, 50);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue