Comparing version 4.0.0 to 4.0.1
@@ -42,2 +42,3 @@ "use strict"; | ||
var glob = require("glob"); | ||
var path = require("path"); | ||
var ProjectParser = /** @class */ (function () { | ||
@@ -53,3 +54,3 @@ function ProjectParser() { | ||
glob = config.js ? "**/*.{ts,tsx}" : "**/*.{ts,tsx,js,jsx}"; | ||
return [4 /*yield*/, ProjectParser.getFileNames(rootPath + glob)]; | ||
return [4 /*yield*/, ProjectParser.getFileNames(path.join(rootPath, glob))]; | ||
case 1: | ||
@@ -56,0 +57,0 @@ fileNames = _a.sent(); |
{ | ||
"name": "tsarch", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -21,5 +21,5 @@ # TSArch | ||
describe('Architecture', () => { | ||
it('defines that all files in dog folder should be called ...Dog.ts', async () => { | ||
const project = await TSArch.parseTypescriptProject('./src') | ||
@@ -34,6 +34,6 @@ | ||
expect(project).toMatchArchRule(rule) | ||
expect(project).toPass(rule) | ||
}) | ||
}) | ||
@@ -40,0 +40,0 @@ |
Sorry, the diff of this file is not supported yet
169313
2200