UNPKG

openrtb

Version:

A Javascript library which builds and validates OpenRTB objects

10 lines (9 loc) 365 B
var Device = require('../../lib/openrtb2_3/device').object; var DeviceBuilder = require('../../lib/openrtb2_3/device').builder; var RtbObject = require('../../lib/rtbObject'); describe("The Device object should", function() { it("be an instance of RtbObject", function() { var device = new Device(); device.should.be.an.instanceof(RtbObject); }); });