Home
last modified time | relevance | path

Searched refs:indexFile (Results 1 – 7 of 7) sorted by relevance

/third_party/typescript/src/testRunner/unittests/tsserver/
DcompletionsIncomplete.ts33 const indexFile: File = { constant
52 … const { typeToTriggerCompletions, session } = setup([tsconfigFile, indexFile, ...exportingFiles]);
53 openFilesForSession([indexFile], session);
55 typeToTriggerCompletions(indexFile.path, "a", completions => {
72 … const { typeToTriggerCompletions, session } = setup([tsconfigFile, indexFile, ...exportingFiles]);
73 openFilesForSession([indexFile], session);
75 typeToTriggerCompletions(indexFile.path, "a", completions => {
83 … const { typeToTriggerCompletions, session } = setup([tsconfigFile, indexFile, ...exportingFiles]);
84 openFilesForSession([indexFile], session);
86 … typeToTriggerCompletions(indexFile.path, "a", completions => assert(completions.isIncomplete))
[all …]
/third_party/node/test/parallel/
Dtest-require-long-path.js16 const indexFile = path.join(fullDirPath, 'index.js'); constant
22 fs.writeFileSync(indexFile, 'require("./other");');
25 require(indexFile);
Dtest-runner-import-no-scheme.js34 const indexFile = path.join(packageRoot, 'index.js'); constant
38 fs.writeFileSync(indexFile, 'module.exports = { marker: 1 };');
64 assert.strictEqual(require.resolve('test'), indexFile);
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/
Dtest_db.js28 const indexFile = path.join(outPath, 'index.json'); constant
29 const indexJSON = JSON.parse(fs.readFileSync(indexFile), 'utf-8');
/third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/
Dindex.js139 const indexFile = resolve(this.path, 'index.js')
142 indexFileContent = await readFile(indexFile, 'utf8')
/third_party/typescript/src/harness/
DevaluatorImpl.ts125 const indexFile = vpath.resolve(dir, "index.js"); constant
126 if (this.isFile(indexFile)) return indexFile;
/third_party/typescript/src/testRunner/unittests/
DmoduleResolution.ts163 const indexFile = { name: indexPath }; constant
165 …reateModuleResolutionHost(hasDirectoryExists, containingFile, packageJson, moduleFile, indexFile));
185 const indexFile = { name: "/a/b/foo/index.d.ts" }; constant
186 ….name, {}, createModuleResolutionHost(hasDirectoryExists, containingFile, packageJson, indexFile));
187 … checkResolvedModuleWithFailedLookupLocations(resolution, createResolvedModule(indexFile.name), [