taobao-tmall-decoration
Version:
Node code for writing Taobao store or Tmall store frontend fitting prototype easily
29 lines (23 loc) • 676 B
JavaScript
/**
*
* @authors zx.wang (zx.wang1991@gmail.com)
* @date 2016-08-18 14:55:11
* @version $Id$
*/
const fs = require('fs');
const path = require('path');
const chai = require('chai');
const expect = chai.expect;
var app = require('../index.js');
var tmplDir = path.resolve(__dirname, '../example/tmpl/');
var distDir = path.resolve(__dirname, '../example/dist/');
describe('style transform test', function() {
it('path should be a string', function() {
expect(tmplDir).to.be.a('string');
expect(distDir).to.be.a('string');
});
it('start path should exists', function() {
var flagt = fs.existsSync(tmplDir);
expect(flagt).to.be.true;
});
});