Home
last modified time | relevance | path

Searched refs:existsSync (Results 1 - 25 of 52) sorted by relevance

123

/third_party/node/test/parallel/
H A Dtest-fs-mkdtemp.js13 assert(fs.existsSync(folder));
22 assert(fs.existsSync(tmpFolder));
27 assert(fs.existsSync(utf8));
46 assert(fs.existsSync(tmpFolder));
51 assert(fs.existsSync(utf8));
68 assert(fs.existsSync(tmpFolder));
73 assert(fs.existsSync(utf8));
92 assert(fs.existsSync(tmpFolder));
97 assert(fs.existsSync(utf8));
H A Dtest-fs-rm.js144 assert.strictEqual(fs.existsSync(filePath), false);
158 assert.strictEqual(fs.existsSync(validLink), false);
171 assert.strictEqual(fs.existsSync(invalidLink), false);
185 assert.strictEqual(fs.existsSync(loopLinkA), false);
199 assert.strictEqual(fs.existsSync(gitDirectory), false);
231 assert.strictEqual(fs.existsSync(filePath), false);
243 assert.strictEqual(fs.existsSync(validLink), false);
254 assert.strictEqual(fs.existsSync(invalidLink), false);
266 assert.strictEqual(fs.existsSync(loopLinkA), false);
278 assert.strictEqual(fs.existsSync(fileUR
[all...]
H A Dtest-fs-mkdir.js42 assert.strictEqual(fs.existsSync(pathname), true);
52 assert.strictEqual(fs.existsSync(pathname), true);
62 assert.strictEqual(fs.existsSync(pathname), true);
72 assert.strictEqual(fs.existsSync(pathname), true);
81 const exists = fs.existsSync(pathname);
110 const exists = fs.existsSync(pathname);
123 const exists = fs.existsSync(pathname);
132 const exists = fs.existsSync(pathname);
181 assert.strictEqual(fs.existsSync(pathname), true);
209 assert.strictEqual(fs.existsSync(pathnam
[all...]
H A Dtest-fs-symlink-dir.js51 assert(!fs.existsSync(path));
56 assert(!fs.existsSync(path));
H A Dtest-require-exceptions.js53 assert(fs.existsSync(fixtures.path(fixture)));
H A Dtest-child-process-stdio-overlapped.js36 if (!require('fs').existsSync(exePath)) {
H A Dtest-child-process-fork-exec-path.js50 assert.strictEqual(fs.existsSync(copyPath), false);
H A Dtest-trace-events-async-hooks-dynamic.js41 assert(fs.existsSync(filename));
H A Dtest-fs-symlink.js62 assert(!fs.existsSync(linkPath));
/third_party/weex-loader/deps/weex-scripter/lib/
H A Drequire-parse.js4 var existsSync = fs.existsSync || path.existsSync
48 if (existsSync(aPath)) {
/third_party/node/deps/npm/test/lib/commands/
H A Dci.js77 t.equal(fs.existsSync(nmTest), false, 'existing node_modules is removed')
79 t.equal(fs.existsSync(nmAbbrev), true, 'installs abbrev')
101 t.equal(fs.existsSync(nmTest), false, 'existing node_modules is removed')
103 t.equal(fs.existsSync(nmAbbrev), true, 'installs abbrev')
181 t.equal(fs.existsSync(nmTestFile), true, 'does not remove node_modules')
212 t.equal(fs.existsSync(nmTestFile), true, 'does not remove node_modules')
/third_party/node/test/pummel/
H A Dtest-fs-watch-file-slow.js46 assert.strictEqual(fs.existsSync(FILENAME), false);
50 assert.strictEqual(fs.existsSync(FILENAME), true);
53 assert.strictEqual(fs.existsSync(FILENAME), false);
/third_party/typescript/tests/baselines/reference/
H A DAPISample_watcher.js19 existsSync(path: string): boolean;
42 if (!fs.existsSync(fileName)) {
51 fileExists: fileName => fs.existsSync(fileName),
142 if (!fs.existsSync(fileName)) {
150 fileExists: function (fileName) { return fs.existsSync(fileName); },
/third_party/weex-loader/src/
H A Dloader.js146 fs.existsSync(process.env.aceManifestPath)) {
226 if (!fs.existsSync(cssFileName)) {
331 if (!fs.existsSync(filePath) && src.match(/^(\/|\.)/)) {
373 if (fs.existsSync(cssFileName)) {
386 if (fs.existsSync(lessFileName)) {
399 if (fs.existsSync(scssFileName)) {
412 if (fs.existsSync(sassFileName)) {
438 if (!fs.existsSync(jsFileName)) {
/third_party/parse5/packages/parse5/
H A Duglify-source.js23 if (fs.existsSync(inputPath)) {
27 if (fs.existsSync(filePath)) {
/third_party/weex-loader/
H A Duglify-source.js24 if (fs.existsSync(inputPath)) {
28 if (fs.existsSync(filePath)) {
/third_party/node/deps/npm/node_modules/@sigstore/tuf/dist/
H A Dclient.js63 if (!fs_1.default.existsSync(cachePath)) {
66 if (!fs_1.default.existsSync(targetsPath)) {
77 if (!fs_1.default.existsSync(cachedRootPath) || forceInit) {
/third_party/typescript/scripts/
H A DohTestCasesGenerationScript.js128 if (!fs.existsSync(ohFourslashCasesDir)) {
150 if (!fs.existsSync(ohCompilerCasesDir)) {
176 if (!fs.existsSync(baselineNamePath)) {
/third_party/node/test/sequential/
H A Dtest-diagnostic-dir-heap-prof.js85 assert(fs.existsSync(dir));
113 assert(fs.existsSync(dir2));
/third_party/node/deps/v8/tools/system-analyzer/
H A Dlws-middleware.js59 if (libName.indexOf('/') === -1 || !fs.existsSync(libName)) return;
77 if (libName.indexOf('/') === -1 || !fs.existsSync(libName)) return;
/third_party/typescript/tests/arkTSTest/
H A Drun.js33 if (fs.existsSync(filePath)) {
63 const checkfile = fs.existsSync(jsonFile);
313 if (!fs.existsSync(dir)) {
328 if(fs.existsSync(ignoreCaseFilePath)){
/third_party/typescript/lib/
H A DcancellationToken.js20 return fs.existsSync(name);
/third_party/node/test/addons/openssl-client-cert-engine/
H A Dtest.js14 if (!fs.existsSync(engine))
/third_party/node/test/internet/
H A Dtest-corepack-yarn-install.js63 assert(fs.existsSync(`${installDir}/node_modules/package-name`));
/third_party/node/test/js-native-api/test_general/
H A DtestInstanceOf.js13 const v8TestsDirExists = fs.existsSync(v8TestsDir);

Completed in 8 milliseconds

123