forked from enviPath/enviPy
Current Dev State
This commit is contained in:
19
static/js/ketcher2/node_modules/ttf2woff2/tests/cli.mocha.js
generated
vendored
Normal file
19
static/js/ketcher2/node_modules/ttf2woff2/tests/cli.mocha.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
var fs = require('fs');
|
||||
var assert = require('assert');
|
||||
|
||||
describe('Testing CLI', function() {
|
||||
|
||||
it("should work", function(done) {
|
||||
this.timeout(5000);
|
||||
assert.deepEqual(
|
||||
(require('child_process').execSync)(
|
||||
'node ' + __dirname + '/../bin/ttf2woff2.js', {
|
||||
input: fs.readFileSync(__dirname + '/expected/iconsfont.ttf')
|
||||
}
|
||||
),
|
||||
fs.readFileSync(__dirname + '/expected/iconsfont.woff2')
|
||||
);
|
||||
done();
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user