mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Components added. Build issues fixed
This commit is contained in:
parent
5b66ed1093
commit
18c3721848
344 changed files with 12446 additions and 8758 deletions
|
@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue