samedi 17 février 2018

Running tests on angulardart 5

Im trying angulardart 5 (alpha).

To have a "good enough" base, I started of by cloning the example from angular_examples

The problem is that README and docs are currently not updated with the new command to use.

Considering pub serve became pub run build_runner serve, I expected the test command to be pub run build_runner test. But when I use this on angular_examples I either get a "No tests ran". Or a crash saying :

Unable to spawn isolate: The built-in library 'dart:html' is not available on the stand-alone VM.

Same goes for pub run angular_test --verbose. Which gives the same crash on dart:html.


So, what is the correct command you need to use to run tests on angulardart 5 ?

Aucun commentaire:

Enregistrer un commentaire