Skip to content

Commit

Permalink
move ticlo tests out of spec folder to tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rinick committed Apr 24, 2024
1 parent 918bb38 commit 6d71f91
Show file tree
Hide file tree
Showing 21 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/node/test-loader/TestLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class TestLoader extends FileFlowStorage {
filename = nameParts.pop();
}

let specDir = `${nameParts.join('/')}/spec`;
let specDir = `${nameParts.join('/')}/tests`;
let realPath = `${specDir}/${filename}`;

if (this.tasks.has(realPath)) {
Expand Down Expand Up @@ -124,7 +124,7 @@ export class TestLoader extends FileFlowStorage {
// let functionFiles: string[] = [];

const loadSpec = (dir: string, parentBlockPath: string) => {
let specDir = Path.join(dir, 'spec');
let specDir = Path.join(dir, 'tests');
if (Fs.existsSync(specDir)) {
let stat = Fs.statSync(specDir);
if (stat.isDirectory()) {
Expand Down Expand Up @@ -158,7 +158,7 @@ export class TestLoader extends FileFlowStorage {
let path = Path.join(dir, file);
let stat = Fs.statSync(path);
if (stat.isDirectory()) {
if (file !== 'spec' && file !== 'i18n') {
if (file !== 'tests' && file !== 'i18n') {
iterateDir(path, `${blockPath}.${file}`);
}
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6d71f91

Please sign in to comment.