detectPackage test

This commit is contained in:
Jaco Greeff
2020-12-18 10:17:04 +01:00
parent 74c7e05fed
commit 29d1ac009a

View File

@@ -5,6 +5,10 @@ import { detectPackage } from '@polkadot/util';
import packageInfo from './package-info.json';
detectPackage(packageInfo, () => import.meta.url);
function getPath () {
return import.meta.url;
}
detectPackage(packageInfo, getPath);
export { packageInfo };