样式修改
This commit is contained in:
@@ -112,9 +112,8 @@ test("React list advertising keeps independent desktop and mobile row positions
|
||||
3,
|
||||
);
|
||||
const promo = renderToStaticMarkup(<PromoGrid items={ads} />);
|
||||
assert.equal((promo.match(/data-track-ad="external"/g) || []).length, 2);
|
||||
assert.equal((promo.match(/data-ad-clone="1"/g) || []).length, 1);
|
||||
assert.match(promo, /rel="sponsored nofollow noopener"/);
|
||||
assert.equal((promo.match(/rel="sponsored nofollow noopener"/g) || []).length, 2);
|
||||
assert.equal((promo.match(/tabindex="-1"/g) || []).length, 1);
|
||||
});
|
||||
|
||||
test("React filter and pagination links preserve the source path-only canonical route contracts", () => {
|
||||
|
||||
Reference in New Issue
Block a user