test(VmTurnZone): provide a stub VmTurnZone for CJS tests
This commit is contained in:
parent
d8aeb40b49
commit
94a48e8640
|
@ -0,0 +1,17 @@
|
|||
// TODO(vicb): implement this class properly
|
||||
// The current stub implementation is only here to please cjs tests
|
||||
export class VmTurnZone {
|
||||
constructor({enableLongStackTrace}) {
|
||||
}
|
||||
|
||||
initCallbacks({onTurnStart, onTurnDone, onScheduleMicrotask, onErrorHandler} = {}) {
|
||||
}
|
||||
|
||||
run(fn) {
|
||||
return fn();
|
||||
}
|
||||
|
||||
runOutsideAngular(fn) {
|
||||
return fn();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue