@memberjunction/ng-action-gallery
Version:
MemberJunction Action Gallery - A beautiful, filterable gallery component for browsing and selecting actions
17 lines • 785 B
JavaScript
import { describe, it, expect } from 'vitest';
import { existsSync } from 'fs';
import { resolve } from 'path';
describe('@memberjunction/ng-action-gallery', () => {
it('should have a public API entry point', () => {
const pkgRoot = resolve(__dirname, '../..');
const hasPublicApi = existsSync(resolve(pkgRoot, 'src/public-api.ts'));
const hasIndex = existsSync(resolve(pkgRoot, 'src/index.ts'));
expect(hasPublicApi || hasIndex).toBe(true);
});
it('should have a package.json with correct name', () => {
const pkgRoot = resolve(__dirname, '../..');
const pkg = require(resolve(pkgRoot, 'package.json'));
expect(pkg.name).toBe('@memberjunction/ng-action-gallery');
});
});
//# sourceMappingURL=exports.test.js.map