X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/a4e92f85f83046cef29d4ce0f71cea6250ce8df6..567b5d347d2df4f0aea88996a78cb4b457802126:/src/fnpjs/logging/logging.test.js?ds=sidebyside diff --git a/src/fnpjs/logging/logging.test.js b/src/fnpjs/logging/logging.test.js index 5876f5a..6baf049 100644 --- a/src/fnpjs/logging/logging.test.js +++ b/src/fnpjs/logging/logging.test.js @@ -31,8 +31,8 @@ var log = { }; // Loggin handler that just writes to the global logger object -var testLoggingHandler = function(msg) { - log.append(msg); +var testLoggingHandler = function(record) { + log.append(record.message); }; describe('Logging', function() {