X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/a4e92f85f83046cef29d4ce0f71cea6250ce8df6..b53d709d888332da35d991ef449ddfc60633273f:/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() {