Commit Graph

657 Commits (7b467d044d73570bf893a5c9dce56c06cfd1b8d7)

Author SHA1 Message Date
yougotwill 4a3adaa5e4 fix: aded simple test for sessioninput
made note to migratie to storybook in the future
9 months ago
yougotwill 362e360f40 fix: replace chai with react-test-renderer for unit testing components
rewrite avatar placeholder test
9 months ago
William Grant b08c4592c2 feat: added error boundary to component rendering in unit tests, resolve issues SVGElement in JSDOM 9 months ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
9 months ago
William Grant 301af68eee fix: single line linux target in package json
otherwise appimages fail to build
10 months ago
William Grant b219a8526e fix: suggest window log stubbing if it's not working when printing render or html elements 10 months ago
William Grant da64ee746c fix: dont export react testing library from renderComponent
prefer to import it explcitly when needed
10 months ago
William Grant 01667083cd fix: there is already a unit test for initials 11 months ago
William Grant bc5615e880 feat: test for correct background color order is done
use libsodium for hash so we can unit test, remove crypto stub
11 months ago
William Grant 91d1229023 feat: made good progress on avatar place holder unit test
feat added stubCrypto function
11 months ago
William Grant 121d968ad3 feat: add component name support to printing functions
use prettyDom function for formatting instead of prettier directly
11 months ago
William Grant 7d4b96145d feat: added print functions for react render results and html elements
used for unit testing
11 months ago
William Grant b13e907753 fix: resolve cyclic imports in avatarplaceholder
bt moving types from data module identitykey, guardnode, snode, swarmnode to a separate file
11 months ago
William Grant 1d5c2de531 feat: added custom render function for react testing library
so we can load our own providers
11 months ago
William Grant 192cbd268e feat: added react testing library and chai dom
setup inital work for unit testing avatar placeholder bg color generation
11 months ago
William Grant 6c93639c4b fix: turn off enableLogRedirect 1 year ago
William Grant 1a114825b3 fix: remove pollOnceForOurDisplayName test
saved work in a branch but we need to use workers in unit tests before its work testing
1 year ago
William Grant d64623311f fix: remove registration test
we dont do redux based unit testing at this time
1 year ago
William Grant e727851fdc test: finished signInByLinkingDevice 1 year ago
William Grant e97ca2c7f3 test: validity check for signInByLinkedDevice done
made stubs for window whisper and storage
1 year ago
William Grant 7e6fb22907 test: registerSingleDevice
started on signInByLinkingDevice
1 year ago
William Grant ba0a10960b test: sanitizeSessionUsername
which is the core function of sanitizeDisplayNameOrToast in onboarding
1 year ago
William Grant 238713e907 test: displayNameIsValid 1 year ago
William Grant d06a294aaa feat: added stubbing for window.i18n 1 year ago
William Grant 592b7ec1fd fix: rename Registration_test to Onboarding_test 1 year ago
William Grant 006193faa2 feat: setup what tests need to be done with TODOs 1 year ago
Audric Ackermann 53059135ee fix: tsc does not overwrite workers compiled content 1 year ago
Audric Ackermann 3a26285667 fix: make group control message not expire 1 year ago
Audric Ackermann e03c3ce1f3 test: fix unit tests 1 year ago
Audric Ackermann f6cd12d599 fix: use at least 2 hashes for the update_expiries too
until the storage server release is live we need this workaround
1 year ago
Audric Ackermann b61745fd94 fix: use DaR ttl for synced message store request
removing one request at a time
1 year ago
Audric Ackermann 82c6f0897b fix: add jobs for expiry update & expiry fetch 1 year ago
Audric Ackermann 98fd834367 fix: already read DaR messages start with right time left on receive 1 year ago
Audric Ackermann 19e9e0311e feat: add cleanup of old expire update in history
we only keep one from each sender
1 year ago
Audric Ackermann 543c80bbe3 fix: add most of new designs (own setting) for disappear v2 messages 1 year ago
Audric Ackermann ad9fa6dbee chore: remove lastChangetimestmap and add explciit expiretype and type
on the messages creation
1 year ago
Audric Ackermann d1068983bb fix: broken state adding lastDisappearingMessage to chatmsg 1 year ago
William Grant 5d98ff6e8b test: replace any with ConversationAttributes
on convo constructor args
2 years ago
William Grant 04c3f69398 refactor: export functions from an object for stubbing
for disappearing messages index file
2 years ago
William Grant 8d36442dbf refactor: rename ttl_max to content_message
this is more explicit
2 years ago
William Grant be8c3b042f feat: added checkForExpiringOutgoingMessage
triggers timer for all outgoing messages. includes unit tests
2 years ago
William Grant 40014544d1 fix: closed group groupId is now PubKey only 2 years ago
William Grant ee38af12dd test: restructed tests to match feature folder 2 years ago
William Grant 5f3a0899f5 feat: moved remaining code into feature folder
also separated out legacy functions
2 years ago
William Grant 0212166fcc feat: moved disappearing logic to a feature folder
only moved types and timerOptions so far
2 years ago
William Grant 286418976b test: updated ChatMessage with disappearing tests
for both modes
2 years ago
William Grant 06099966b0 fix: make sure to use convo getters
instead of backbone get function
2 years ago
William Grant d89741cb29 test: finished insertGroupsFromDBIntoWrapperAndRefresh 2 years ago
William Grant a2890925a5 test: fix groups wrapper values test 2 years ago
William Grant 4b93c5779a test: started libsession LegacyGroups tests
specifically insertGroupsFromDBIntoWrapperAndRefresh
2 years ago