Components added. Build issues fixed

This commit is contained in:
Bahadir Sofuoglu 2022-09-14 14:26:01 +03:00
parent 5b66ed1093
commit 18c3721848
344 changed files with 12446 additions and 8758 deletions

View file

@ -21,13 +21,13 @@ describe('Terminal.vue', () => {
let argsIndex = text.indexOf(' ');
let command = argsIndex !== -1 ? text.substring(0, argsIndex) : text;
switch(command) {
case "d":
switch (command) {
case 'd':
response = 'Valid command';
break;
default:
response = "Unknown command: " + command;
response = 'Unknown command: ' + command;
}
TerminalService.emit('response', response);
@ -67,13 +67,13 @@ describe('Terminal.vue', () => {
let argsIndex = text.indexOf(' ');
let command = argsIndex !== -1 ? text.substring(0, argsIndex) : text;
switch(command) {
case "d":
switch (command) {
case 'd':
response = 'Valid command';
break;
default:
response = "Unknown command: " + command;
response = 'Unknown command: ' + command;
}
TerminalService.emit('response', response);
@ -94,4 +94,4 @@ describe('Terminal.vue', () => {
expect(wrapper.find('.p-terminal-response').text()).toBe('Unknown command: dd');
});
});
});