UNPKG

@kv-systems/ng-packagr

Version:

Compile and package Angular libraries in Angular Package Format (APF)

23 lines (18 loc) 520 B
import { expect } from 'chai'; describe(`@sample/same-name`, () => { describe(`package.json`, () => { let PACKAGE; beforeAll(() => { PACKAGE = require('../dist/package.json'); }); it(`should exist`, () => { expect(PACKAGE).to.be.ok; }); it(`should be named '@sample/testing'`, () => { expect(PACKAGE['name']).to.equal('@sample/testing'); }); it(`should reference "typings" files`, () => { expect(PACKAGE['typings']).to.equal('index.d.ts'); }); }); });