Skip to content

Basic build failures #245

@frykten

Description

@frykten

Hello!

I am doing very basic and naive testing to see if this addon could be useful for our app.
When starting a new app with the very useful and basic ember-new-output it sometimes seems like there are discrepancies with the stack... (or at least the doc is not entirely true/filled).

More info (all tests are made with this addon current version, i.e. 4.0.2):
First error:
Ember-cli: 3.24.0, nothing more, nothing else, the basic testing runs fine, the basic app runs fine.
When I add this, the ember test does not build and gives:

Build Error (broccoli-persistent-filter:Babel > [Babel: @ember-data/adapter]) in @ember-data/adapter/rest.js
[...]/ember-a11y-testing/@ember-data/adapter/rest.js: Imported DEPRECATE_NAJAX from @ember-data/private-build-infra/deprecations which is not a supported flag.

As a matter of fact, if I remove ember-data, no issues, it works just fine.

Second error:
Ember-cli: 3.20.2, same setup, no issues.
When I add this, no issues. When I try to use the setupGlobalA11yHooks method as shown (and working in ember-cli: 4.24.0), it still builds. However, nothing works because:

Uncaught TypeError: (0 , _testHelpers._registerHook) is not a function
    at setup-global-a11y-hooks.js:20

Presently looking like an error with @ember/test-helpers, which I tried to use with the latest version (currently 2.2.3) and with the latest needed following the Readme (2.0.0). Same problem, always. If I go lower than the needed version, of course, there's an error due to not having the right dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions