• This project
    • Loading...
  • Sign in

张泽世 / yohobuywap-node · Files

Go to a project

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • test
  • library
  • logger.test.js
  • 修改测试用例
    fbda2b6e
    by ccbikai
    2016-05-19 14:33:38 +0800  
    Browse Files
logger.test.js 315 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/**
 * logger 工具类测试
 */

const test = require('ava');
const logger = require('../../library/logger');

test('logger error test', t => {
    logger.error('error test', () => {
        t.pass();
    });
});

test('logger info test', t => {
    logger.info('info test', () => {
        t.pass();
    });
});