mercredi 3 février 2021

'currentURL()' not working as expected in ember's tests after upgrade

Tests using the 'currentURL()' started to randomly fail when the URL changes more than 2 times (in the same test case).

This started after the application was updated (ember-cli) from the version 1.X to the ~2.16.2.

I've tried (With no positive results):

  1. Updating the ember-cli-qunit.

  2. Using import { currentURL } from '@ember/test-helpers';.




Aucun commentaire:

Enregistrer un commentaire