From 5e52b7ee775c47d96cb6b12a4efc7b27b72d1fb4 Mon Sep 17 00:00:00 2001 From: Erisu Date: Mon, 2 Aug 2021 15:15:27 +0900 Subject: [PATCH] fix: logging method --- test/java_test_runner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/java_test_runner.js b/test/java_test_runner.js index 4e0df3ef..3673b8e0 100644 --- a/test/java_test_runner.js +++ b/test/java_test_runner.js @@ -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')); } }