mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Disable unit tests for now
This commit is contained in:
parent
81a6df3f15
commit
b91820f694
1 changed files with 5 additions and 3 deletions
|
|
@ -72,8 +72,10 @@ async function testGeneral() {
|
|||
assertRegex(siteMatch(m[0], m[1]), m[2], testCard, `siteMatch() for ${m[1]}`);
|
||||
}
|
||||
|
||||
// TODO: Enable these tests later. Not sure how to tests cookies API which requires to be running in the
|
||||
// background script.
|
||||
// Top-Level-Domain tests
|
||||
const tldUrls = [
|
||||
/*const tldUrls = [
|
||||
[ 'another.example.co.uk', 'co.uk' ],
|
||||
[ 'www.example.com', 'com' ],
|
||||
[ 'github.com', 'com' ],
|
||||
|
|
@ -86,7 +88,7 @@ async function testGeneral() {
|
|||
[ 'jap.an.ide.kyoto.jp', 'ide.kyoto.jp' ], // ide.kyoto.jp is a TLD
|
||||
];
|
||||
|
||||
for (const d of domains) {
|
||||
for (const d of tldUrls) {
|
||||
kpxcAssert(page.getTopLevelDomainFromUrl(d[0]), d[1], testCard, 'getTopLevelDomainFromUrl() for ' + d[0]);
|
||||
}
|
||||
|
||||
|
|
@ -106,7 +108,7 @@ async function testGeneral() {
|
|||
|
||||
for (const d of domains) {
|
||||
kpxcAssert(page.getBaseDomainFromUrl(d[0]), d[1], testCard, 'getBaseDomainFromUrl() for ' + d[0]);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
// Input field matching (keepassxc-browser.js)
|
||||
|
|
|
|||
Loading…
Reference in a new issue