Skip to content

Commit 06ebee8

Browse files
committed
chore(sidebar): fix regex in test for dot notation filter
1 parent e18c41f commit 06ebee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-sidebar/src/components/use-filtered-connections.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ describe('useFilteredConnections', function () {
647647
initialProps: {
648648
connections: mockSidebarConnections,
649649
filter: {
650-
regex: new RegExp('ready_1_1.coll_ready_shared_name', 'i'), // this matches only coll_ready_shared_name collection in ready_1_1 database
650+
regex: new RegExp('ready_1_1\\.coll_ready_shared_name', 'i'), // this matches only coll_ready_shared_name collection in ready_1_1 database
651651
excludeInactive: false,
652652
},
653653
fetchAllCollections: fetchAllCollectionsStub,

0 commit comments

Comments
 (0)