We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12917da commit d0e226fCopy full SHA for d0e226f
test/app/spec-reporters.ts
@@ -51,7 +51,14 @@ if (process.env.DEBUG_TIME) {
51
}
52
53
jasmine.getEnv().addReporter({
54
- jasmineDone: () => {
+ jasmineDone: (result) => {
55
+ // KLUDGE: Delete the sort function from the result to prevent errors
56
+ // when sending it over IPC. This may be fixed in a later
57
+ // version of karma-jasmine or karma-electron (in which case
58
+ // this line may be removed)
59
+ // See: https://github.com/twolfson/karma-electron/issues/47
60
+ delete result.order.sort;
61
+
62
console.log("Total memory is", chromePerformance.memory.usedJSHeapSize);
63
64
setTimeout(() => {
0 commit comments