217 lines
23 KiB
JavaScript
217 lines
23 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
require("typings-test");
|
|
const smartfile = require("../dist/index");
|
|
const path = require("path");
|
|
const smartchai_1 = require("smartchai");
|
|
const vinyl = require("vinyl");
|
|
describe('smartfile', function () {
|
|
describe('.fs', function () {
|
|
describe('.fileExistsSync', function () {
|
|
it('should return an accurate boolean', function () {
|
|
smartchai_1.expect(smartfile.fs.fileExistsSync('./test/mytest.json')).to.be.true;
|
|
smartchai_1.expect(smartfile.fs.fileExistsSync('./test/notthere.json')).be.false;
|
|
});
|
|
});
|
|
describe('.fileExists', function () {
|
|
it('should return a working promise', function () {
|
|
smartchai_1.expect(smartfile.fs.fileExists('./test/mytest.json')).to.be.a('promise');
|
|
smartchai_1.expect(smartfile.fs.fileExists('./test/mytest.json')).to.be.fulfilled;
|
|
smartchai_1.expect(smartfile.fs.fileExists('./test/notthere.json')).to.not.be.fulfilled;
|
|
});
|
|
});
|
|
describe('.listFoldersSync()', function () {
|
|
it('should get the file type from a string', function () {
|
|
smartchai_1.expect(smartfile.fs.listFoldersSync('./test/')).to.deep.include('testfolder');
|
|
smartchai_1.expect(smartfile.fs.listFoldersSync('./test/')).to.not.deep.include('notExistentFolder');
|
|
});
|
|
});
|
|
describe('.listFolders()', function () {
|
|
it('should get the file type from a string', function (done) {
|
|
smartfile.fs.listFolders('./test/')
|
|
.then(function (folderArrayArg) {
|
|
smartchai_1.expect(folderArrayArg).to.deep.include('testfolder');
|
|
smartchai_1.expect(folderArrayArg).to.not.deep.include('notExistentFolder');
|
|
done();
|
|
});
|
|
});
|
|
});
|
|
describe('.listFilesSync()', function () {
|
|
it('should get the file type from a string', function () {
|
|
smartchai_1.expect(smartfile.fs.listFilesSync('./test/')).to.deep.include('mytest.json');
|
|
smartchai_1.expect(smartfile.fs.listFilesSync('./test/')).to.not.deep.include('notExistentFile');
|
|
smartchai_1.expect(smartfile.fs.listFilesSync('./test/', /mytest\.json/)).to.deep.include('mytest.json');
|
|
smartchai_1.expect(smartfile.fs.listFilesSync('./test/', /mytests.json/)).to.not.deep.include('mytest.json');
|
|
});
|
|
});
|
|
describe('.listFiles()', function () {
|
|
it('should get the file type from a string', function (done) {
|
|
smartfile.fs.listFiles('./test/')
|
|
.then(function (folderArrayArg) {
|
|
smartchai_1.expect(folderArrayArg).to.deep.include('mytest.json');
|
|
smartchai_1.expect(folderArrayArg).to.not.deep.include('notExistentFile');
|
|
done();
|
|
});
|
|
});
|
|
});
|
|
describe('.listFileTree()', function () {
|
|
it('should get a file tree', function (done) {
|
|
smartfile.fs.listFileTree(path.resolve('./test/'), '**/*.txt')
|
|
.then(function (folderArrayArg) {
|
|
smartchai_1.expect(folderArrayArg).to.deep.include('testfolder/testfile1.txt');
|
|
smartchai_1.expect(folderArrayArg).to.not.deep.include('mytest.json');
|
|
done();
|
|
});
|
|
});
|
|
});
|
|
describe('toObjectFromFileTree', function () {
|
|
it('should read a file tree into an Object', function () {
|
|
smartfile.fs.fileTreeToObject(path.resolve('./test/'), '**/*.txt')
|
|
.then((fileArrayArg) => {
|
|
// expect(fileArrayArg[1]).to.be.instanceof(smartfile.Smartfile)
|
|
});
|
|
});
|
|
});
|
|
describe('.copy()', function () {
|
|
it('should copy a directory', function () {
|
|
smartfile.fs.copy('./test/testfolder/', './test/temp/');
|
|
});
|
|
it('should copy a file', function () {
|
|
smartfile.fs.copy('./test/mytest.yaml', './test/temp/');
|
|
});
|
|
it('should copy a file and rename it', function () {
|
|
smartfile.fs.copy('./test/mytest.yaml', './test/temp/mytestRenamed.yaml');
|
|
});
|
|
});
|
|
describe('.remove()', function () {
|
|
it('should remove an entire directory', function () {
|
|
});
|
|
it('smartfile.fs.remove -> should remove single files', function (done) {
|
|
smartfile.fs.remove('./test/temp/mytestRenamed.yaml')
|
|
.then(() => { done(); });
|
|
});
|
|
it('smartfile.fs.removeSync -> should remove single files synchronouly', function () {
|
|
smartfile.fs.removeSync('./test/temp/testfile1.txt');
|
|
smartchai_1.expect(smartfile.fs.fileExistsSync('./test/temp/testfile1.txt')).to.be.false;
|
|
});
|
|
it('smartfile.fs.removeMany -> should remove and array of files', function (done) {
|
|
smartfile.fs.removeMany(['./test/temp/testfile1.txt', './test/temp/testfile2.txt']).then(() => {
|
|
smartchai_1.expect(smartfile.fs.fileExistsSync('./test/temp/testfile1.txt')).to.be.false;
|
|
smartchai_1.expect(smartfile.fs.fileExistsSync('./test/temp/testfile2.txt')).to.be.false;
|
|
done();
|
|
});
|
|
});
|
|
it('smartfile.fs.removeManySync -> should remove and array of single files synchronouly', function () {
|
|
smartfile.fs.removeManySync(['./test/temp/testfile1.txt', './test/temp/testfile2.txt']);
|
|
smartchai_1.expect(smartfile.fs.fileExistsSync('./test/temp/testfile1.txt')).to.be.false;
|
|
smartchai_1.expect(smartfile.fs.fileExistsSync('./test/temp/testfile2.txt')).to.be.false;
|
|
});
|
|
});
|
|
});
|
|
describe('.interpreter', function () {
|
|
describe('.filetype()', function () {
|
|
it('should get the file type from a string', function () {
|
|
smartchai_1.expect(smartfile.interpreter.filetype('./somefolder/data.json')).equal('json');
|
|
});
|
|
});
|
|
});
|
|
describe('.fs', function () {
|
|
describe('.toObjectSync()', function () {
|
|
it('should read an ' + '.yaml' + ' file to an object', function () {
|
|
let testData = smartfile.fs.toObjectSync('./test/mytest.yaml');
|
|
smartchai_1.expect(testData).have.property('key1', 'this works');
|
|
smartchai_1.expect(testData).have.property('key2', 'this works too');
|
|
});
|
|
it('should state unknown file type for unknown file types', function () {
|
|
let testData = smartfile.fs.toObjectSync('./test/mytest.txt');
|
|
});
|
|
it('should read an ' + '.json' + ' file to an object', function () {
|
|
let testData = smartfile.fs.toObjectSync('./test/mytest.json');
|
|
smartchai_1.expect(testData).have.property('key1', 'this works');
|
|
smartchai_1.expect(testData).have.property('key2', 'this works too');
|
|
});
|
|
});
|
|
describe('.toStringSync()', function () {
|
|
it('should read a file to a string', function () {
|
|
smartchai_1.expect(smartfile.fs.toStringSync('./test/mytest.txt'))
|
|
.to.equal('Some TestString &&%$');
|
|
});
|
|
});
|
|
describe('.toVinylSync', function () {
|
|
it('should read an ' + '.json OR .yaml' + ' file to an ' + 'vinyl file object', function () {
|
|
let testData = smartfile.fs.toVinylSync('./test/mytest.json');
|
|
smartchai_1.expect(vinyl.isVinyl(testData)).to.be.true;
|
|
});
|
|
});
|
|
});
|
|
describe('.memory', function () {
|
|
describe('.toGulpStream()', function () {
|
|
it('should produce a valid gulp stream', function () {
|
|
let localArray = ['test1', 'test2', 'test3'];
|
|
smartfile.memory.toGulpStream(localArray);
|
|
});
|
|
});
|
|
describe('toVinylFileSync()', function () {
|
|
it('should produce a vinylFile', function () {
|
|
let localString = 'myString';
|
|
let localOptions = { filename: 'vinylfile2', base: '/someDir' };
|
|
smartchai_1.expect(smartfile.memory.toVinylFileSync(localString, localOptions) instanceof vinyl).to.be.true;
|
|
});
|
|
});
|
|
describe('toVinylArraySync()', function () {
|
|
it('should produce a an array of vinylfiles', function () {
|
|
let localStringArray = ['string1', 'string2', 'string3'];
|
|
let localOptions = { filename: 'vinylfile2', base: '/someDir' };
|
|
let testResult = smartfile.memory.toVinylArraySync(localStringArray, localOptions);
|
|
smartchai_1.expect(testResult).to.be.a('array');
|
|
smartchai_1.expect(testResult.length === 3).to.be.true;
|
|
for (let myKey in testResult) {
|
|
smartchai_1.expect(testResult[myKey] instanceof vinyl).to.be.true;
|
|
}
|
|
});
|
|
});
|
|
describe('vinylToStringSync()', function () {
|
|
it('should produce a String from vinyl file', function () {
|
|
let localString = smartfile.memory.vinylToStringSync(new vinyl({
|
|
base: '/',
|
|
path: '/test.txt',
|
|
contents: new Buffer('myString')
|
|
}));
|
|
smartchai_1.expect(localString).equal('myString');
|
|
});
|
|
});
|
|
describe('toFs()', function () {
|
|
it('should write a file to disk and return a promise', function (done) {
|
|
let localString = 'myString';
|
|
smartfile.memory.toFs(localString, path.join(process.cwd(), './test/temp/testMemToFs.txt')).then(done);
|
|
});
|
|
});
|
|
describe('toFsSync()', function () {
|
|
it('should write a file to disk and return true if successfull', function () {
|
|
let localString = 'myString';
|
|
smartfile.memory.toFsSync(localString, path.join(process.cwd(), './test/temp/testMemToFsSync.txt'));
|
|
});
|
|
});
|
|
});
|
|
describe('.remote', function () {
|
|
describe('.toString()', function () {
|
|
it('should load a remote file to a variable', function (done) {
|
|
this.timeout(5000);
|
|
smartfile.remote.toString('https://raw.githubusercontent.com/pushrocks/smartfile/master/test/mytest.txt').then(function (responseString) {
|
|
smartchai_1.expect(responseString).to.equal('Some TestString &&%$');
|
|
done();
|
|
});
|
|
});
|
|
it('should reject a Promise when the link is false', function (done) {
|
|
this.timeout(10000);
|
|
smartfile.remote.toString('https://push.rocks/doesnotexist.txt')
|
|
.then(function () {
|
|
throw new Error('this test should not be resolved');
|
|
}, function () {
|
|
done();
|
|
});
|
|
});
|
|
});
|
|
});
|
|
});
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx3QkFBcUI7QUFDckIsMkNBQTBDO0FBQzFDLDZCQUE2QjtBQUU3Qix5Q0FBa0M7QUFFbEMsK0JBQThCO0FBRTlCLFFBQVEsQ0FBQyxXQUFXLEVBQUU7SUFDcEIsUUFBUSxDQUFDLEtBQUssRUFBRTtRQUNkLFFBQVEsQ0FBQyxpQkFBaUIsRUFBRTtZQUMxQixFQUFFLENBQUMsbUNBQW1DLEVBQUU7Z0JBQ3RDLGtCQUFNLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxjQUFjLENBQUMsb0JBQW9CLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsSUFBSSxDQUFBO2dCQUNwRSxrQkFBTSxDQUFDLFNBQVMsQ0FBQyxFQUFFLENBQUMsY0FBYyxD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