add tests for cosmetic rules with regexp pattern #563
Annotations
7 errors
|
build
Process completed with exit code 1.
|
|
test/validator.test.js > validator > validate cosmetic rules with regexp pattern > /^example[0-9]+\.com$/##.advertisement:
test/validator.test.js#L148
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ test/validator.test.js:148:28
|
|
test/validator.test.js > validator > validate cosmetic rules with regexp pattern > /example\d+\.com/##div[class="ad"]:
test/validator.test.js#L148
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ test/validator.test.js:148:28
|
|
test/validator.test.js > validator > validate cosmetic rules with regexp pattern > /example\d+\.com/##.banner:
test/validator.test.js#L148
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ test/validator.test.js:148:28
|
|
test/converter.test.js > converter > convert rules with no change > converts rule /^[a-z0-9]{5,}\.(?=.*[a-z])(?=.*[0-9])[a-z0-9]{17,}\.(cfd|sbs|shop)$/##$?#*:contains(/(test1|test2)77/i) { scrollbar-width: thin!important; }:
test/converter.test.js#L87
AssertionError: expected '/^[a-z0-9]{5,}\.(?=.*[a-z])(?=.*[0-9]…' to deeply equal '/^[a-z0-9]{5,}\.(?=.*[a-z])(?=.*[0-9]…'
Expected: "/^[a-z0-9]{5,}\.(?=.*[a-z])(?=.*[0-9])[a-z0-9]{17,}\.(cfd|sbs|shop)$/##$?#*:contains(/(test1|test2)77/i) { scrollbar-width: thin!important; }"
Received: "/^[a-z0-9]{5,}\.(?=.*[a-z])(?=.*[0-9])[a-z0-9]{17,}\.(cfd|sbs|shop)$/#$?#$?#*:contains(/(test1|test2)77/i) { scrollbar-width: thin!important; }"
❯ test/converter.test.js:87:39
|
|
test/builder.test.js > Test builder > Works > condition directives for platforms > filters4.txt - if with else branch:
test/builder.test.js#L1018
AssertionError: expected 24 to deeply equal 25
- Expected
+ Received
- 25
+ 24
❯ test/builder.test.js:1018:42
|
|
test/builder.test.js > Test builder > Works > check MAC platform > platform/mac filters 4_optimized.txt:
test/builder.test.js#L754
AssertionError: expected 14 to deeply equal 15
- Expected
+ Received
- 15
+ 14
❯ test/builder.test.js:754:44
|