You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
427 B
TypeScript
13 lines
427 B
TypeScript
import {DocumentDirectory} from "../src/ts_source/fileutils";
|
|
|
|
const path = require('path');
|
|
|
|
describe('fileutils', ()=>{
|
|
it('documentDirectoryConstructor', testDocumentDirectoryConstructor);
|
|
});
|
|
|
|
function testDocumentDirectoryConstructor(){
|
|
let directoryPath = path.join(__dirname, "../src/assets/documents");
|
|
let documents = new DocumentDirectory(directoryPath);
|
|
let firstChild = documents.root.children[0];
|
|
} |