Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
fast-glob /
out /
[ HOME SHELL ]
Name
Size
Permission
Action
managers
[ DIR ]
drwxr-xr-x
providers
[ DIR ]
drwxr-xr-x
readers
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
types
[ DIR ]
drwxr-xr-x
utils
[ DIR ]
drwxr-xr-x
index.d.ts
1.64
KB
-rw-r--r--
index.js
2.69
KB
-rw-r--r--
index.spec.d.ts
11
B
-rw-r--r--
index.spec.js
7.18
KB
-rw-r--r--
settings.d.ts
4.04
KB
-rw-r--r--
settings.js
2.46
KB
-rw-r--r--
settings.spec.d.ts
11
B
-rw-r--r--
settings.spec.js
2.29
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : settings.spec.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const assert = require("assert"); const os = require("os"); const settings_1 = require("./settings"); describe('Settings', () => { it('should return instance with default values', () => { const settings = new settings_1.default(); assert.deepStrictEqual(settings.fs, settings_1.DEFAULT_FILE_SYSTEM_ADAPTER); assert.deepStrictEqual(settings.ignore, []); assert.ok(!settings.absolute); assert.ok(!settings.baseNameMatch); assert.ok(!settings.dot); assert.ok(!settings.markDirectories); assert.ok(!settings.objectMode); assert.ok(!settings.onlyDirectories); assert.ok(!settings.stats); assert.ok(!settings.suppressErrors); assert.ok(!settings.throwErrorOnBrokenSymbolicLink); assert.ok(settings.braceExpansion); assert.ok(settings.caseSensitiveMatch); assert.ok(settings.deep); assert.ok(settings.extglob); assert.ok(settings.followSymbolicLinks); assert.ok(settings.globstar); assert.ok(settings.onlyFiles); assert.ok(settings.unique); assert.strictEqual(settings.concurrency, os.cpus().length); assert.strictEqual(settings.cwd, process.cwd()); }); it('should return instance with custom values', () => { const settings = new settings_1.default({ onlyFiles: false }); assert.ok(!settings.onlyFiles); }); it('should set the "onlyFiles" option when the "onlyDirectories" is enabled', () => { const settings = new settings_1.default({ onlyDirectories: true }); assert.ok(!settings.onlyFiles); assert.ok(settings.onlyDirectories); }); it('should set the "objectMode" option when the "stats" is enabled', () => { const settings = new settings_1.default({ stats: true }); assert.ok(settings.objectMode); assert.ok(settings.stats); }); it('should return the `fs` option with custom method', () => { const customReaddirSync = () => []; const settings = new settings_1.default({ fs: { readdirSync: customReaddirSync } }); assert.strictEqual(settings.fs.readdirSync, customReaddirSync); }); });
Close