Skip to content

Commit

Permalink
remove obsolete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mmason2-godaddy committed Jun 13, 2024
1 parent ef5e921 commit c652017
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions packages/gasket-plugin-metadata/test/actions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,6 @@ describe('actions', () => {
expect(metadata).toHaveProperty('plugins');
});

// it('adds moduleInfo from app dependencies', async () => {
// expect(metadata.modules.length).toBeGreaterThan(0);
// const names = metadata.modules.map(m => m.name);
// expect(names).toContain('fake-two');
// expect(names).toContain('fake-one');
// });

it('ignores plugins and presets from app dependencies', async () => {
const names = metadata.modules.map(m => m.name);
expect(names).not.toContain('@gasket/plugin-mock');
Expand Down Expand Up @@ -114,20 +107,4 @@ describe('actions', () => {
const result = metadata.plugins[0].modules.find(mod => mod.name === 'fake-one');
expect(result).toHaveProperty('extra', true);
});

// it('flattens moduleInfo from plugins', async () => {
// const names = metadata.modules.map(m => m.name);
// expect(names).toContain('fake-one');
// expect(names).toContain('fake-two');
// });

// it('flatting does not duplicate moduleInfo', async () => {
// const names = metadata.modules.map(m => m.name);
// expect(names.filter(n => n === 'fake-one')).toHaveLength(1);
// });

// it('flatting augments moduleInfo with extras from plugins', async () => {
// const result = metadata.modules.find(mod => mod.name === 'fake-one');
// expect(result).toHaveProperty('extra', true);
// });
});

0 comments on commit c652017

Please sign in to comment.