datacite/bracco

View on GitHub
tests/integration/components/doi-citation-test.js

Summary

Maintainability
A
0 mins
Test Coverage
// import { module, test } from 'qunit';
// import { setupRenderingTest } from 'ember-qunit';
// import { render } from '@ember/test-helpers';
// import { setupFactoryGuy, make } from 'ember-data-factory-guy';
// import hbs from 'htmlbars-inline-precompile';

// module('Integration | Component | doi citation', function(hooks) {
//   setupRenderingTest(hooks);
//   setupFactoryGuy(hooks);

//   test('it renders', async function(assert) {
//     this.set('model', make('doi'));

//     await render(hbs`{{doi-citation model=model}}`);
//     assert.dom('*').hasText('APA Harvard MLA Vancouver Chicago IEEE Citation Joyce Mott Anderson. (1988). The effects of early intervention on young handicapped children who are nonverbal or have limited expressive language skills. University of Nevada, Las Vegas. https://doi.org/10.70048/RPH240519');
//   });
// });