add: unit and integration testing

This commit is contained in:
odweta
2026-09-07 18:09:36 +02:00
parent 76fde42334
commit 52a25aeaf5
7230 changed files with 561560 additions and 135112 deletions
+10
View File
@@ -0,0 +1,10 @@
'use strict';
const path = require('path');
const { minimatch } = require('minimatch');
const dot = { dot: true, windowsPathsNoEscape: true };
module.exports = function(dir, filename) {
return !minimatch(path.resolve(dir, filename), path.join(dir, '**'), dot);
};