| 1234567891011 |
- import path from 'path';
- import { importPackageJson } from './import-package-json';
- it('importPackageJson() returns an object', async() => {
- // when
- const pkg = importPackageJson(path.resolve(__dirname, '../../../../../test/fixtures/example-package/template1'));
- // then
- expect(pkg).not.toBeNull();
- });
|