(receiver: string)
| 48 | 'export type KyInstance = {\n\tcreate: (defaults?: object) => KyInstance;\n};\n\n' + |
| 49 | 'declare function createInstance(): KyInstance;\n\nconst ky = createInstance();\nexport default ky;\n'; |
| 50 | const kyUse = (receiver: string): string => |
| 51 | `import ${receiver} from 'ky';\n\n` + |
| 52 | `export function selfImport() {\n\treturn ${receiver}.create({});\n}\n\n` + |
| 53 | `export async function dynamicImport() {\n\tconst {default: ${receiver}} = await import('./index.js');\n\treturn ${receiver}.create({});\n}\n`; |
| 54 | |
| 55 | describe('a value named like a class, and that class\'s static method (#3429)', () => { |
| 56 | it('does not link the call to the static method', async () => { |
no outgoing calls
no test coverage detected