verdaccio-ui/jest/unit/components/store/logo.ts

8 lines
169 B
TypeScript
Raw Permalink Normal View History

2019-04-05 02:23:40 +07:00
/**
* Mock response for logo api
* @returns {promise}
*/
export default function<T>(): Promise<T> {
2019-04-05 02:23:40 +07:00
return Promise.resolve('http://localhost/-/static/logo.png');
}