Page MenuHomePhabricator

[web] Add webMentionTypeaheadRegex tests
ClosedPublic

Authored by patryk on Aug 31 2023, 2:49 PM.
Tags
None
Referenced Files
F3149471: D9057.id31371.diff
Mon, Nov 4, 2:10 PM
Unknown Object (File)
Sun, Nov 3, 4:55 AM
Unknown Object (File)
Wed, Oct 30, 10:21 PM
Unknown Object (File)
Sun, Oct 27, 2:04 PM
Unknown Object (File)
Mon, Oct 21, 4:10 AM
Unknown Object (File)
Sun, Oct 20, 5:49 AM
Unknown Object (File)
Fri, Oct 18, 1:58 AM
Unknown Object (File)
Thu, Oct 17, 11:44 PM
Subscribers

Details

Summary

This diff adds webMentionTypeaheadRegex regex unit tests to typeahead-utils.test.js.

Depends on D9056.

Test Plan

Run yarn test in web folder and check if all tests pass.

Diff Detail

Repository
rCOMM Comm
Branch
patryk/chat-mentioning
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

patryk held this revision as a draft.
patryk edited the test plan for this revision. (Show Details)
patryk added reviewers: tomek, inka, rohan.
This revision is now accepted and ready to land.Sep 22 2023, 6:45 AM

You could remove the text field and just do textPrefix + mentionText