ember-a11y-testing: TypeScript fails when using latest `@ember/test-helpers`

The latest version of @ember/test-helpers ships its own types, so @types/ember__test-helpers is obsolete now (see https://github.com/typed-ember/ember-cli-typescript/pull/1545).

In a project with that setup (i.e. no @types/ember__test-helpers) I am getting this when installing ember-a11y-testing:

../node_modules/.pnpm/ember-a11y-testing@5.2.0_xxksirw4yhzqkev2rkehjstyum/node_modules/ember-a11y-testing/test-support/setup-middleware-reporter.d.ts:1:23 - error TS2688: Cannot find type definition file for 'ember__test-helpers'
[tests] 1 /// <reference types="ember__test-helpers" />

See the <reference types="ember__test-helpers" /> in the compiled setup-middleware-reporter.d.ts, which now references a non-existing file.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Whoops I didn’t see that so duplicated your work. I’ll close mine. 😅