Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix skipped test #1836

Merged
merged 1 commit into from
Nov 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions test/spec/adUnits_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ describe('Publisher API _ AdUnits', function () {
assert.strictEqual(bids2[1].params.placementId, '827326', 'adUnit2 bids2 params.placementId');
});

it('both add unit should contains a transactionid.'), function() {
assert.exist(adUnit1.transationId)
assert.exist(adUnit2.transationId)
it('both add unit should contains a transactionId', function() {
assert.isString(adUnit1.transactionId);
assert.isString(adUnit2.transactionId);

assert.strictEqual(false, adUnit1.transationId === adUnit2.transationId)
}
assert.strictEqual(false, adUnit1.transactionId === adUnit2.transactionId);
});

it('the second adUnits value should be same with the adUnits that is added by $$PREBID_GLOBAL$$.addAdUnits();', function () {
assert.strictEqual(adUnit2.code, '/1996833/slot-2', 'adUnit2 code');
Expand Down