Skip to content

Commit

Permalink
fix: test if it allows environments to contain plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
radulle committed Dec 19, 2023
1 parent 38701a8 commit dedb4c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/gasket-typescript-tests/test/engine.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Gasket, { MaybeAsync, Plugin } from '@gasket/engine';
import Gasket from '@gasket/engine';
import type { GasketConfigFile, MaybeAsync, Plugin } from '@gasket/engine';

declare module '@gasket/engine' {
interface HookExecTypes {
Expand Down Expand Up @@ -89,4 +90,8 @@ describe('@gasket/engine', () => {
}
});
});

it('allows environments to contain plugins', () => {
const config: GasketConfigFile = { environments: { dev: { plugins: { add: ['plugin-name'] } } } };
});
});

0 comments on commit dedb4c4

Please sign in to comment.