X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/a4e92f85f83046cef29d4ce0f71cea6250ce8df6..d5f4c1bb0dc3a9ff8845d209c75d00cc733b3360:/src/fnpjs/logging/logging.test.js 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() {