Rewrite 'pull-os-versions' script in Javascript to add support for reporting os revis...
[WebKit-https.git] / Websites / perf.webkit.org / server-tests / tools-buildbot-triggerable-tests.js
index f4307d0..cae0bef 100644 (file)
@@ -7,16 +7,7 @@ const MockData = require('./resources/mock-data.js');
 const MockRemoteAPI = require('../unit-tests/resources/mock-remote-api.js').MockRemoteAPI;
 const TestServer = require('./resources/test-server.js');
 const prepareServerTest = require('./resources/common-operations.js').prepareServerTest;
-
-class MockLogger {
-    constructor()
-    {
-        this._logs = [];
-    }
-
-    log(text) { this._logs.push(text); }
-    error(text) { this._logs.push(text); }
-}
+const MockLogger = require('./resources/mock-logger.js').MockLogger;
 
 describe('BuildbotTriggerable', function () {
     prepareServerTest(this);