import { VirtualTree } from '@angular-devkit/schematics'; import { findSdkVersion } from './wch'; describe('wch', () => { it('should read the version from our pkg json', () => { const tree = new VirtualTree(); const version = findSdkVersion(tree); expect(version).toBeTruthy(); }); });