mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-24 01:11:15 -04:00
Make copy to clipboard work with prefixes
The prefix was being included in the selection copied.
This commit is contained in:
@@ -30,7 +30,7 @@ class DOMInterfaceMock {
|
||||
class RangeMock extends DOMInterfaceMock {
|
||||
|
||||
constructor (jest) {
|
||||
super(jest, { props: [], methods: ['selectNodeContents'] });
|
||||
super(jest, { props: [], methods: ['selectNodeContents', 'setStart'] });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user