Skip to content

Commit 765afb9

Browse files
committed
added test for fastboot-info equality
1 parent eb34190 commit 765afb9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/fastboot-test.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,4 +353,16 @@ describe("FastBoot", function() {
353353
.catch((e) => expect(e).to.be.an('error'));
354354
});
355355

356+
it("matches app's fastboot-info and result's fastboot-info", function() {
357+
var fastboot = new FastBoot({
358+
distPath: fixture('basic-app')
359+
});
360+
361+
return fastboot.visit('/')
362+
.then((r) => {
363+
let lookupFastboot = r.instance.lookup('info:-fastboot');
364+
expect(r._fastbootInfo).to.deep.equal(lookupFastboot);
365+
});
366+
});
367+
356368
});

0 commit comments

Comments
 (0)