fix: logging method

This commit is contained in:
Erisu 2021-08-02 15:15:27 +09:00
parent f3e98c8651
commit 5e52b7ee77
No known key found for this signature in database
GPG Key ID: 2E5FF17FB26AF7F2

View File

@ -47,7 +47,7 @@ class AndroidTestRunner {
}
_log (...args) {
console.log.apply(console, [`[${this.testTitle}]`, ...args])
console.log(...[`[${this.testTitle}]`, ...args]);
}
run () {
@ -74,7 +74,7 @@ class AndroidTestRunner {
.then(_ => this._log('Running Java Instrumentation Tests'))
.then(_ => this._gradlew('connectedAndroidTest'))
.then(_ => this._log('Finished Java Instrumentation Tests'))
.then(_ => this._log('Finished Java Instrumentation Tests'));
}
}