From e55e30bdb3c05a354f2c804bfeea40433d905a02 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 3 Nov 2015 20:19:46 +0100 Subject: [PATCH] updated test --- test.js | 3 ++- test/mytest.txt | 2 +- ts/test.ts | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/test.js b/test.js index bfe9fa7..0e5f0c6 100644 --- a/test.js +++ b/test.js @@ -1,2 +1,3 @@ var smartfile = require("./index.js"); -console.log(smartfile.readFileToString("./test/mytest.txt")); +var pr = require("pushrocks"); +pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt")); diff --git a/test/mytest.txt b/test/mytest.txt index 2b48449..75ffaad 100644 --- a/test/mytest.txt +++ b/test/mytest.txt @@ -1 +1 @@ -This is some test text. If this is displayed when running "npm test", then the test has succeeded. \ No newline at end of file +This is some test text stored in ./test/mytest.txt -> If this is displayed when running "npm test", then the test has succeeded. \ No newline at end of file diff --git a/ts/test.ts b/ts/test.ts index 3129849..2ba3ad1 100644 --- a/ts/test.ts +++ b/ts/test.ts @@ -1,2 +1,3 @@ var smartfile = require("./index.js"); -console.log(smartfile.readFileToString("./test/mytest.txt")); \ No newline at end of file +var pr = require("pushrocks") +pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt")); \ No newline at end of file