git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit 77e12267a2b0c7a3ac002b5dca4d3d986f2d06bd

added oldest test

wanderer committed on 7/6/2017, 2:26:59 AM
Parent: f25a4c630940b064038e561bbafd852d929317c8

Files changed

tests/index.jschanged
tests/index.jsView
@@ -21,9 +21,9 @@
2121 }
2222
2323 node.on('ready', () => {
2424 tape('basic', async t => {
25- t.plan(2)
25+ t.plan(3)
2626 let message
2727 const expectedState = {
2828 '/': 'zdpuB1wc9Pb6jUzfNt4nAxAEUxB7kNhg4vbq7YLcEyBUb6iAB'
2929 }
@@ -52,8 +52,9 @@
5252 rootContainer.send(portRef1, message)
5353
5454 const stateRoot = await hypervisor.createStateRoot(Infinity)
5555 t.deepEquals(stateRoot, expectedState, 'expected root!')
56+ t.equals(hypervisor.scheduler.oldest(), 0)
5657 })
5758
5859 tape('basic - do not store containers with no ports bound', async t => {
5960 t.plan(1)

Built with git-ssb-web