Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
assert.equal(
results.local.idl['github.com'].barteam.joe['joe.thrift'],
results.upstream.files['idl/github.com/barteam/joe/joe.thrift'],
'Fetched the requested IDL file for barteam/joe'
);
assert.equal(
results.local.idl['github.com'].footeam.stooges['nyuck.thrift'],
results.upstream.files['idl/github.com/footeam/stooges/nyuck.thrift'],
'Fetched the dependency for joe.thrift'
);
assert.equal(
results.local.idl['meta.json'].time,
results.upstream.meta.remotes['github.com/barteam/joe'].time
);
tk.reset();
assert.end();
}
});
assert.equal(
results.local.idl['github.com'].barteam.joe['joe.thrift'],
results.upstream.files['idl/github.com/barteam/joe/joe.thrift'],
'Fetched the requested IDL file for barteam/joe'
);
assert.equal(
results.local.idl['github.com'].footeam.stooges['nyuck.thrift'],
results.upstream.files['idl/github.com/footeam/stooges/nyuck.thrift'],
'Fetched the dependency for joe.thrift'
);
assert.equal(
results.local.idl['meta.json'].time,
results.upstream.meta.remotes['github.com/barteam/joe'].time
);
tk.reset();
assert.end();
}
});