Closed bornemisza closed 4 years ago
@harmenjanssen Thank you. I extended the PR, but not exactly know why Travis failed.
In local env all test passed:
PASS test/config.test.js
PASS test/preferences.test.jsTest Suites: 2 passed, 2 total Tests: 7 passed, 7 total Snapshots: 0 total Time: 3.686 s Ran all test suites. Done in 4.97s.
node version: 12.18.4 yarn version: 1.22.0 npm version: 6.14.6 OS: Windows 10 & Ubuntu 20.04
I see, it's failing on eslint:
/home/travis/build/grrr-amsterdam/cookie-consent/test/config.test.js
5:27 error A space is required after '{' object-curly-spacing
5:41 error A space is required before '}' object-curly-spacing
If you could make this last change I will happily merge this in. 🙂
Your change is published to NPM in version 1.0.1
.
BUG: If the append settings parameter false, then always returns the default value which is true. APPEARS: The cookie-consent module:36 has conditional statement which compares config.append with false.