Skip to content

Commit 4035d37

Browse files
committed
test(test): removed useless test breaking ci build
1 parent b0ce60b commit 4035d37

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/index.test.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,6 @@ describe('recursiveRoutes', function () {
111111
expect(checkRoutes.has('/customPath/test-2/controller-2')).to.be.true;
112112
});
113113

114-
it('empty dir', function () {
115-
const recursiveRoutes = require('../src/index');
116-
if (!fs.existsSync('./test/empty')) {
117-
fs.mkdir('./test/empty');
118-
}
119-
recursiveRoutes.mountRoutes(mock_app, './test/empty');
120-
expect(mock_app.use.getCalls().length).to.equal(0);
121-
});
122-
123114
describe('filtering', function () {
124115

125116
let rootDir;

0 commit comments

Comments
 (0)