From f110f4c12ab4ee34ce5a1144d6454061c8d32011 Mon Sep 17 00:00:00 2001 From: Ryan Waskiewicz Date: Mon, 3 Oct 2022 13:14:19 -0400 Subject: [PATCH] chore(lint): fix lint in v3 after v2.18.1 merge this commit fixes a lint error that is the result of the following course of actions: - https://github.com/ionic-team/stencil/pull/3621/files updated eslint-plugin-jest, which now errors on aliased mathers - the changes in the aforementioned PR were pulled into the v3.0.0-dev branch - the new lint rules didn't run on that branch until the merge, catching one violation in the v3 branch that wasn't in the v2 branch --- src/compiler/output-targets/test/custom-elements-types.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/output-targets/test/custom-elements-types.spec.ts b/src/compiler/output-targets/test/custom-elements-types.spec.ts index 7be7d7bc82b..6c6e931f925 100644 --- a/src/compiler/output-targets/test/custom-elements-types.spec.ts +++ b/src/compiler/output-targets/test/custom-elements-types.spec.ts @@ -145,7 +145,7 @@ describe('Custom Elements Typedef generation', () => { '', ].join('\n'); - expect(compilerCtx.fs.writeFile).toBeCalledWith(join('my-best-dir', 'index.d.ts'), expectedTypedefOutput, { + expect(compilerCtx.fs.writeFile).toHaveBeenCalledWith(join('my-best-dir', 'index.d.ts'), expectedTypedefOutput, { outputTargetType: DIST_CUSTOM_ELEMENTS, });