Stubbing out functions
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import setText from './results.mjs';
|
||||
|
||||
export function get(){
|
||||
setText('A');
|
||||
}
|
||||
|
||||
export function getCatch(){
|
||||
setText('B');
|
||||
}
|
||||
|
||||
export function chain(){
|
||||
setText('C');
|
||||
}
|
||||
|
||||
export function final(){
|
||||
setText('D');
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import setText from './results.mjs';
|
||||
|
||||
export function timeout(){
|
||||
setText('A');
|
||||
}
|
||||
|
||||
export function interval(){
|
||||
setText('B');
|
||||
}
|
||||
|
||||
export function clearInterval(){
|
||||
setText('C');
|
||||
}
|
||||
|
||||
export function xhr(){
|
||||
setText('D');
|
||||
}
|
||||
|
||||
export function allPromises(){
|
||||
setText('E');
|
||||
}
|
||||
|
||||
export function allSettled(){
|
||||
setText('F');
|
||||
}
|
||||
|
||||
export function race(){
|
||||
setText('G');
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import setText from './results.mjs';
|
||||
|
||||
export function get(){
|
||||
setText('A');
|
||||
}
|
||||
|
||||
export function getCatch(){
|
||||
setText('B');
|
||||
}
|
||||
|
||||
export function chain(){
|
||||
setText('C');
|
||||
}
|
||||
|
||||
export function concurrent(){
|
||||
setText('D');
|
||||
}
|
||||
|
||||
export function parallel(){
|
||||
setText('E');
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user