Skip to content

Commit b9aa946

Browse files
add unit test
1 parent a0dbd93 commit b9aa946

14 files changed

+16
-6094
lines changed

packages/fastboot/test/fastboot-test.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,6 @@ describe('FastBoot', function() {
6363
});
6464
});
6565

66-
it('can render HTML with default metadata', function() {
67-
var fastboot = new FastBoot({
68-
distPath: fixture('app-with-default-metadata'),
69-
});
70-
71-
return fastboot
72-
.visit('/metadata', { request: { headers: {} } })
73-
.then(r => r.html())
74-
.then(html => {
75-
expect(html).to.match(/test fastboot metadata/);
76-
});
77-
});
78-
7966
it('outputs html attributes from the fastboot app', function() {
8067
var fastboot = new FastBoot({
8168
distPath: fixture('custom-html-attrs'),

packages/fastboot/test/fixtures/app-with-default-metadata/assets/auto-import-fastboot-d41d8cd98f00b204e9800998ecf8427e.js

Whitespace-only changes.

packages/fastboot/test/fixtures/app-with-default-metadata/assets/basic-app-d41d8cd98f00b204e9800998ecf8427e.css

Whitespace-only changes.

packages/fastboot/test/fixtures/app-with-default-metadata/assets/basic-app-fastboot-9f7de69f38fb37cecb533ffe14e85ef1.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/fastboot/test/fixtures/app-with-default-metadata/assets/basic-app-fd1d80a8a4222105625f2683e080d0a1.js

Lines changed: 0 additions & 251 deletions
This file was deleted.

packages/fastboot/test/fixtures/app-with-default-metadata/assets/vendor-a5a4cfe8188c051a02d6af3f0a0a99f4.js

Lines changed: 0 additions & 5769 deletions
This file was deleted.

packages/fastboot/test/fixtures/app-with-default-metadata/assets/vendor-d41d8cd98f00b204e9800998ecf8427e.css

Whitespace-only changes.

packages/fastboot/test/fixtures/app-with-default-metadata/ember-fetch/fetch-fastboot-fd166075338e18b022339067ec2160ee.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/fastboot/test/fixtures/app-with-default-metadata/example-addon/bar-bef7ab273d1a120700f8e967255e9fa6.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/fastboot/test/fixtures/app-with-default-metadata/example-addon/foo-3653bf31a584e132b5d1ce01825722fb.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)