Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Apr 22, 2021
1 parent 01956af commit 1029a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('Plugins', () => {
plugins.hooks.register('test-plugin', { hook: 'filter:test.hook2', method: method2 });

const data = await plugins.hooks.fire('filter:test.hook2', { foo: 1 });
assert.strictEqual(data.foo, 8);
assert.strictEqual(data.foo, 7);
});

it('should register and fire a filter hook that returns a promise that gets rejected', (done) => {
Expand Down

0 comments on commit 1029a06

Please sign in to comment.