feat: add test helper for stubbing services by alexlafroscia · Pull Request #12 · isleofcode/ember-cli-testdouble

@alexlafroscia

@alexlafroscia

alexlafroscia

import { setApplication } from "@ember/test-helpers";
import { start } from "ember-qunit";

import "ember-cli-testdouble-qunit";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created this addon and the library it wraps, testdouble-qunit, which just adds the assert.verify method used below, which mirror td.verify but reports more nicely into the QUnit test results and doesn't blow up the whole test on a single failure. Also removes the need to use assert.expect(0).

@alexlafroscia

@alexlafroscia