Home
last modified time | relevance | path

Searched refs:importElements (Results 1 – 3 of 3) sorted by relevance

/third_party/jsframework/mock-generate/src/generate/
DgenerateMockJsFile.ts168 let importElements = importEntity.importElements;
169 …if (!importElements.includes('{') && !importElements.includes('* as') && !heritageClausesArray.inc…
172importElements = `{ mock${firstCharacterToUppercase(tmpArr[tmpArr.length - 1].replace('"', '').rep…
174 importElements = `{ ${importElements} }`;
177 if (checIsDefaultExportClass(importEntity.importElements)) {
178 importElements = `{ ${importEntity.importElements} }`;
191 …if (importElements.trimRight().trimEnd() === 'AccessibilityExtensionContext, { AccessibilityElemen…
192 importElements = '{ AccessibilityExtensionContext, AccessibilityElement }';
194 if (importElements.trimRight().trimEnd() === '{ image }') {
195 importElements = '{ mockImage as image }';
[all …]
DgenerateCommonUtil.ts208 if (typeName.includes('.') && typeName.split('.')[0] === value.importElements) {
213 if (value.importElements.trimStart().trimEnd() === typeName.split('.')[0]) {
242 if (importElementEntity[i].importElements.includes('_')) {
243 …const importElements = importElementEntity[i].importElements.replace('{', '').replace('}', '').spl… constant
244 for (let j = 0; j < importElements.length; j++) {
245 const element = importElements[j].trimStart().trimEnd();
/third_party/jsframework/mock-generate/src/declaration-node/
DimportAndExportDeclaration.ts65 let importElements = '';
70importElements = sourceFile.text.substring(importClause.pos, importClause.end).trimStart().trimEnd…
71 if (importElements.startsWith('type ')) {
72 importElements = importElements.replace('type ', '');
78 importElements: importElements
98 importElements: string property