Skip to content

Add CI for ESLint, Type Check and Unittest #2

Add CI for ESLint, Type Check and Unittest

Add CI for ESLint, Type Check and Unittest #2

GitHub Actions / Test Results succeeded Jun 18, 2023 in 0s

All 233 tests pass, 3 skipped in 32m 5s

236 tests   233 ✔️  32m 5s ⏱️
    1 suites      3 💤
    1 files        0

Results for commit ae022bb.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 skipped tests found

There are 3 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
Message parser [unittest] Internationalized Email invalid IDNA labels
preferences [unittest] storage safeGetLocalStorage - complete timeout
preferences [unittest] storage safeGetLocalStorage - single timeout

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

236 tests found

There are 236 tests, see "Raw output" for the full list of tests.
Raw output
ARH Parser [unittest] DKIM results AUID with local part
ARH Parser [unittest] DKIM results a-tag
ARH Parser [unittest] DKIM results quoted SDID and AUID
ARH Parser [unittest] Internationalized Email A-label in authserv-id
ARH Parser [unittest] Internationalized Email Disabled by default
ARH Parser [unittest] Internationalized Email U-label in authserv-id
ARH Parser [unittest] Internationalized Email U-label in authserv-id must be in quotes
ARH Parser [unittest] Internationalized Email Wrongly called with normal string
ARH Parser [unittest] Internationalized Email non-ASCII in CFWS
ARH Parser [unittest] Internationalized Email non-ASCII in pvalue
ARH Parser [unittest] Internationalized Email non-ASCII in reasonspec
ARH Parser [unittest] RFC 7601 Appendix B Example B.2.  Nearly Trivial Case; Service Provided, but No Authentication Done
ARH Parser [unittest] RFC 7601 Appendix B Example B.3.  Service Provided, Authentication Done
ARH Parser [unittest] RFC 7601 Appendix B Example B.4.  Service Provided, Several Authentications Done, Single MTA
ARH Parser [unittest] RFC 7601 Appendix B Example B.5.  Service Provided, Several Authentications Done, Different MTAs
ARH Parser [unittest] RFC 7601 Appendix B Example B.6.  Service Provided, Multi-tiered Authentication Done
ARH Parser [unittest] RFC 7601 Appendix B Example B.7.  Comment-Heavy Example
ARH Parser [unittest] Relaxed parsing Property with / not in quotes 
ARH Parser [unittest] Relaxed parsing Trailing ;
ARH Parser [unittest] Valid examples authserv-id in quotes
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result DKIM fail with reason
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result DKIM fail without reason
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result DKIM pass with both SDID and AUID
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result DKIM pass with only AUID
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result DKIM pass with only SDID
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result DKIM results should be sorted
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result With insecure signature algorithm
AuthVerifier [unittest] ARH header Converting of ARH result to DKIM result With secure signature algorithm
AuthVerifier [unittest] ARH header relaxed parsing
AuthVerifier [unittest] ARH header spf and dkim result
AuthVerifier [unittest] invalid messages ill-formed from shows proper error message
AuthVerifier [unittest] invalid messages ill-formed list-id is ignored
AuthVerifier [unittest] saving of results loading AuthResultV2
AuthVerifier [unittest] saving of results loading SavedAuthResultV3
AuthVerifier [unittest] saving of results loading dkimResultV1
AuthVerifier [unittest] sign rules DMARC
AuthVerifier [unittest] sign rules outgoing mail
AuthVerifier [unittest] sign rules unsigned PayPal message
DKIM Verifier [unittest] Detect and prevent possible attacks Additional unsigned header was added Added Date header
DKIM Verifier [unittest] Detect and prevent possible attacks Additional unsigned header was added Added From header
DKIM Verifier [unittest] Detect and prevent possible attacks Additional unsigned header was added Added Subject header
DKIM Verifier [unittest] Detect and prevent possible attacks Additional unsigned header was added Added To header
DKIM Verifier [unittest] Detect and prevent possible attacks Recommended or advised header is not signed Unsigned Content-Type header
DKIM Verifier [unittest] Detect and prevent possible attacks Recommended or advised header is not signed Unsigned Reply-To header that is in the signing domain
DKIM Verifier [unittest] Detect and prevent possible attacks Recommended or advised header is not signed Unsigned Reply-To header that is invalid
DKIM Verifier [unittest] Detect and prevent possible attacks Recommended or advised header is not signed Unsigned Reply-To header that is not in the signing domain
DKIM Verifier [unittest] General errors DKIM key does not allow AUID to be a subdomain
DKIM Verifier [unittest] General errors DKIM key with other service tag
DKIM Verifier [unittest] General errors Hash algorithm is not in the allowed list of the DKIM key
DKIM Verifier [unittest] General errors Revoked key
DKIM Verifier [unittest] General errors Wrong key signature algorithm
DKIM Verifier [unittest] Modifications Simple body canonicalization Disallowed modifications Body modified
DKIM Verifier [unittest] Modifications Simple header canonicalization Disallowed modifications Signed header subject modified
DKIM Verifier [unittest] Signature warnings From address is not in the SDID 
DKIM Verifier [unittest] Signature warnings Received time is before Signature Timestamp
DKIM Verifier [unittest] Syntax errors Missing v-tag in signature
DKIM Verifier [unittest] Valid examples DKIM key with email service tag
DKIM Verifier [unittest] Valid examples DKIM key with empty notes tag
DKIM Verifier [unittest] Valid examples DKIM key with list of allowed hash algorithms
DKIM Verifier [unittest] Valid examples DKIM key with unknown tag
DKIM Verifier [unittest] Valid examples DKIM key with wildcard service tag
DKIM Verifier [unittest] Valid examples RFC 6376 Appendix A Example
DKIM Verifier [unittest] Valid examples RFC 8463 Appendix A Example
DKIM Verifier [unittest] Valid examples Received time is after Signature Timestamp
DKIM Verifier [unittest] Valid examples Received time is briefly before Signature Timestamp
DMARC [unittest] RFC 7489 Appendix B Example B.2.1.  Entire Domain, Monitoring Only
DMARC [unittest] RFC 7489 Appendix B Example B.2.2.  Entire Domain, Monitoring Only, Per-Message Reports
DMARC [unittest] RFC 7489 Appendix B Example B.2.3.  Per-Message Failure Reports Directed to Third Party
DMARC [unittest] RFC 7489 Appendix B Example B.2.4.  Subdomain, Sampling, and Multiple Aggregate Report URIs
DMARC [unittest] RFC 7489 Appendix B Example B.3.1.  Processing of SMTP Time
ExtensionUtils [unittest] isOutgoing based on folder type
ExtensionUtils [unittest] isOutgoing based on identity
Favicons [unittest] Casing should not matter
Favicons [unittest] Domain is in known favicons
Favicons [unittest] Domain is not in known favicons
Favicons [unittest] Favicon is only defined for from or auid address
Favicons [unittest] Favicon is only defined for subdomain
Favicons [unittest] Top domain has multiple parts
Key store [unittest] KeyDb delete
Key store [unittest] KeyDb keys should survive clearing of preferences
Key store [unittest] KeyDb mark as secure
Key store [unittest] KeyDb store and fetch
Key store [unittest] KeyDb update
Key store [unittest] KeyStore storing disabled
Key store [unittest] KeyStore storing enabled
Key store [unittest] KeyStore storing enabled with compare
Message parser [unittest] Extracting From address Casing of From header
Message parser [unittest] Extracting From address From Thunderbirds authors
Message parser [unittest] Extracting From address RFC 5322 Appendix A
Message parser [unittest] Extracting From address RFC 5322 Appendix A - Obsolete
Message parser [unittest] Extracting From address Strange but valid whitespace
Message parser [unittest] Extracting From address addr-spec with comment
Message parser [unittest] Extracting From address addr-spec with quoted-string as local part
Message parser [unittest] Extracting From address addr-spec without comment
Message parser [unittest] Extracting From address avoid backtracking issues
Message parser [unittest] Extracting From address mailbox-list
Message parser [unittest] Extracting From address malformed
Message parser [unittest] Extracting From address name-addr Strange but valid display name
Message parser [unittest] Extracting From address name-addr angle-addr only
Message parser [unittest] Extracting From address name-addr with comment
Message parser [unittest] Extracting From address name-addr with quoted-string as local part
Message parser [unittest] Extracting From address name-addr with simple atoms as display-name
Message parser [unittest] Extracting From address name-addr with simple quoted-string as display-name
Message parser [unittest] Extracting List-Id RFC 2919 examples
Message parser [unittest] Extracting List-Id invalid headers
Message parser [unittest] Extracting List-Id valid headers
Message parser [unittest] Extracting Reply-To address Valid examples
Message parser [unittest] Extracting the date from a Received header Invalid date
Message parser [unittest] Extracting the date from a Received header Missing semicolon
Message parser [unittest] Extracting the date from a Received header RFC 5322 Appendix A.4. Messages with Trace Fields
Message parser [unittest] Extracting the date from a Received header RFC 6376 Appendix A Example
Message parser [unittest] Extracting the date from a Received header Time without seconds
Message parser [unittest] Internationalized Email Disabled by default
Message parser [unittest] Internationalized Email From header
Message parser [unittest] Internationalized Email invalid IDNA labels
Message parser [unittest] Internationalized Email valid IDNA labels
Message parser [unittest] RFC 6376 Appendix A Example Valid empty body
Message parser [unittest] RFC 6376 Appendix A Example Valid missing body
Message parser [unittest] RFC 6376 Appendix A Example With a missing body the headers still need to end with a newline
Message parser [unittest] RFC 6376 Appendix A Example missing newline between header and body
Message parser [unittest] RFC 6376 Appendix A Example multiple received headers
Message parser [unittest] RFC 6376 Appendix A Example parse CR
Message parser [unittest] RFC 6376 Appendix A Example parse CRLF
Message parser [unittest] RFC 6376 Appendix A Example parse LF
Sign rules [unittest] Default rules Not signed, and doesn't need to be signed
Sign rules [unittest] Default rules Not signed, but should be signed
Sign rules [unittest] Default rules Not signed, default rules disabled
Sign rules [unittest] Default rules Signed by correct signer
Sign rules [unittest] Default rules Signed by wrong signer
Sign rules [unittest] User rules Add user exception
Sign rules [unittest] User rules Auto add rule
Sign rules [unittest] User rules Rule matching List-Id
Sign rules [unittest] User rules Suppress address not in SDID rule
Sign rules [unittest] User rules add must be signed rule
Sign rules [unittest] User rules add must be signed rule for list
Sign rules [unittest] User rules empty or not given list-id should not match
Sign rules [unittest] User rules match address using glob
Sign rules [unittest] User rules rules should survive clearing of preferences
Sign rules [unittest] import / export export rules
Sign rules [unittest] import / export import rules
Sign rules [unittest] import / export importing rules in add mode
Sign rules [unittest] import / export importing rules in replace mode
Sign rules [unittest] outgoing mail check that callback is not called unnecessarily
Sign rules [unittest] outgoing mail outgoing mail must not be signed
crypto [unittest] digest 8-bit
crypto [unittest] digest sha1
crypto [unittest] digest sha256
crypto [unittest] verify Ed25519 signature invalid key
crypto [unittest] verify Ed25519 signature invalid msg
crypto [unittest] verify Ed25519 signature invalid signature
crypto [unittest] verify Ed25519 signature signature valid
crypto [unittest] verify Ed25519 signature wrong hash algorithm
crypto [unittest] verify Ed25519 signature wrong key
crypto [unittest] verify RSA signature invalid key
crypto [unittest] verify RSA signature invalid msg
crypto [unittest] verify RSA signature invalid signature
crypto [unittest] verify RSA signature signature valid
crypto [unittest] verify RSA signature wrong hash algorithm
crypto [unittest] verify RSA signature wrong key
migration [unittest] migration of keys don't skip migration of keys if only preferences exist
migration [unittest] migration of keys normal migration of keys
migration [unittest] migration of keys skip migration if keys already exist
migration [unittest] migration of preferences don't skip migration if only sign rules exist
migration [unittest] migration of preferences errors should be ignored
migration [unittest] migration of preferences normal migration
migration [unittest] migration of preferences skip migration if preferences already exist
migration [unittest] migration of sign rules don't skip migration of sign rules if only preferences exist
migration [unittest] migration of sign rules normal migration of sign rules
migration [unittest] migration of sign rules skip migration if sign rules already exist
preferences [unittest] account settings account specific setting
preferences [unittest] account settings default value
preferences [unittest] getBool/getNumber/getString get bool
preferences [unittest] getBool/getNumber/getString get number
preferences [unittest] getBool/getNumber/getString get string
preferences [unittest] getBool/getNumber/getString throw if not exist
preferences [unittest] getBool/getNumber/getString throw if unexpected type
preferences [unittest] getValue get bool
preferences [unittest] getValue get number
preferences [unittest] getValue get string
preferences [unittest] getValue throw if not exist
preferences [unittest] getter access get bool
preferences [unittest] getter access get number
preferences [unittest] getter access get string
preferences [unittest] getter access undefined if not exist
preferences [unittest] set value getValue after setting
preferences [unittest] set value getter access after setting
preferences [unittest] set value set bool
preferences [unittest] set value set number
preferences [unittest] set value set string
preferences [unittest] set value throw if not exist
preferences [unittest] set value throw if unexpected type
preferences [unittest] storage clear storage
preferences [unittest] storage other storage changes are ignored
preferences [unittest] storage pref should change on storage update
preferences [unittest] storage safeGetLocalStorage - complete timeout
preferences [unittest] storage safeGetLocalStorage - retry on reject
preferences [unittest] storage safeGetLocalStorage - single timeout
preferences [unittest] storage store and load prefs to/from storage
preferences [unittest] storage test multiple pref changes at the same time
utils [unittest] addrIsInDomain addr is in a sub-domain
utils [unittest] addrIsInDomain addr is in domain
utils [unittest] addrIsInDomain addr is in domain (different casing)
utils [unittest] addrIsInDomain addr is not an e-mail
utils [unittest] addrIsInDomain addr is not in domain
utils [unittest] addrIsInDomain addr is only in base-domain
utils [unittest] addrIsInDomain2 addr is in a sub-domain
utils [unittest] addrIsInDomain2 addr is in base-domain
utils [unittest] addrIsInDomain2 addr is in domain
utils [unittest] addrIsInDomain2 addr is in domain (different casing)
utils [unittest] addrIsInDomain2 addr is not an e-mail
utils [unittest] addrIsInDomain2 addr is not in domain
utils [unittest] dateToString Double digit month an day
utils [unittest] dateToString Single digit month an day
utils [unittest] domainIsInDomain addr is in base-domain
utils [unittest] domainIsInDomain domain is in a sub-domain
utils [unittest] domainIsInDomain domain is same
utils [unittest] domainIsInDomain domain is same (different casing)
utils [unittest] getDomainFromAddr base-domain
utils [unittest] getDomainFromAddr sub-domain
utils [unittest] promiseWithTimeout no timeout
utils [unittest] promiseWithTimeout timeout
utils [unittest] stringEndsWith string at end
utils [unittest] stringEndsWith string at end (different casing)
utils [unittest] stringEndsWith string at front
utils [unittest] stringEndsWith string in middle
utils [unittest] stringEndsWith string not included
utils [unittest] stringEqual string at end
utils [unittest] stringEqual string at front
utils [unittest] stringEqual string equal
utils [unittest] stringEqual string equal (different casing)
utils [unittest] stringEqual string in middle
utils [unittest] stringEqual string not included
utils [unittest] toType Boolean
utils [unittest] toType Map
utils [unittest] toType Number
utils [unittest] toType Object