MCPcopy Create free account
hub / github.com/molnarg/node-http2 / expectPriorityOrder

Function expectPriorityOrder

test/connection.js:18–24  ·  view source on GitHub ↗
(priorities)

Source from the content-addressed store, hash-verified

16}
17
18function expectPriorityOrder(priorities) {
19 priorities.forEach(function(bucket, priority) {
20 bucket.forEach(function(stream) {
21 expect(stream._priority).to.be.equal(priority);
22 });
23 });
24}
25
26describe('connection.js', function() {
27 describe('Connection class', function() {

Callers 1

connection.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected