diff options
Diffstat (limited to 'js/tests/unit/util/template-factory.spec.js')
-rw-r--r-- | js/tests/unit/util/template-factory.spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/util/template-factory.spec.js b/js/tests/unit/util/template-factory.spec.js index 0fdf871466..5e5724c5f8 100644 --- a/js/tests/unit/util/template-factory.spec.js +++ b/js/tests/unit/util/template-factory.spec.js @@ -99,7 +99,7 @@ describe('TemplateFactory', () => { it('should resolve class if function is given', () => { const factory = new TemplateFactory({ - extraClass: arg => { + extraClass(arg) { expect(arg).toEqual(factory) return 'testClass' } |