UNPKG
demo_frontend
Version:
latest (1.2.1)
1.2.1
1.1.0
1.0.1
Internet Computer starter application
demo_frontend
/
src
/
demo_frontend
/
tests
/
unit
/
routes
/
main-test.js
12 lines
(9 loc)
•
269 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
module
, test }
from
'qunit'
;
import
{ setupTest }
from
'ember-qunit'
;
module
(
'Unit | Route | main'
,
function
(
hooks
) {
setupTest
(hooks);
test
(
'it exists'
,
function
(
assert
) {
let
route =
this
.
owner
.
lookup
(
'route:main'
); assert.
ok
(route); }); });