Skip to content

Commit

Permalink
fix: format fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
soniqua committed Sep 5, 2024
1 parent 252629f commit 55e924a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
27 changes: 21 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,24 @@ repos:
- id: gitleaks
stages: [ commit ]
- repo: local
language: system
stages: [pre-commit]
pass_filenames: true
name: npm lint
id: npm-lint
entry: prettier --check
hooks:
- id: prettier-lint
language: system
stages: [pre-commit]
pass_filenames: true
name: prettier lint
entry: prettier --check
types_or:
- "javascript"
- "ts"
files: ^(lib|test|cli)/
- id: eslint
language: system
stages: [pre-commit]
pass_filenames: true
name: eslint
entry: npx eslint --color --cache
types_or:
- "javascript"
- "ts"
files: ^(lib|test|cli)/
4 changes: 3 additions & 1 deletion test/unit/plugins/pluginManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ describe('Plugin Manager', () => {
};
const plugins = await loadPlugins(pluginsFolderPath, clientOpts);
expect(plugins.get('dummy-multi-1').length).toBeGreaterThanOrEqual(1);
expect(plugins.get('dummy-multi-1')[0].pluginName).toEqual('Dummy Plugin Multi');
expect(plugins.get('dummy-multi-1')[0].pluginName).toEqual(
'Dummy Plugin Multi',
);
});

it('should load plugins no plugin successfully', async () => {
Expand Down

0 comments on commit 55e924a

Please sign in to comment.