redone with objects
This commit is contained in:
parent
8bb333ae8d
commit
3f580bbe2d
12 changed files with 725 additions and 400 deletions
3
test/jshint.spec.js
Normal file
3
test/jshint.spec.js
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
'use strict';
|
||||
|
||||
require('mocha-jshint')(['lib']);
|
||||
25
test/test-node-ff-assets.js
Normal file
25
test/test-node-ff-assets.js
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
'use strict';
|
||||
|
||||
var assert = require("assert");
|
||||
var asserts = require("../lib/node-ff-assets");
|
||||
|
||||
describe('node-ff-assets', function() {
|
||||
describe('export.* check undefined', function() {
|
||||
it('asserts.factory should not be undefined', function() {
|
||||
assert.equal(false, asserts.factory === undefined);
|
||||
});
|
||||
it('asserts.AssetAssembler should not be undefined', function() {
|
||||
assert.equal(false, asserts.AssetAssembler === undefined);
|
||||
});
|
||||
it('asserts.checkAssemblerConfig should not be undefined', function() {
|
||||
assert.equal(false, asserts.checkAssemblerConfig === undefined);
|
||||
});
|
||||
it('asserts.AssetsBuilder should not be undefined', function() {
|
||||
assert.equal(false, asserts.AssetsBuilder === undefined);
|
||||
});
|
||||
it('asserts.checkBuilderConfig should not be undefined', function() {
|
||||
assert.equal(false, asserts.checkBuilderConfig === undefined);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue