mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 02:59:01 +08:00
12 lines
264 B
TypeScript
12 lines
264 B
TypeScript
/// <reference types="cypress" />
|
|
|
|
import { pasteRegex } from '@tiptap/extension-link'
|
|
|
|
describe('link regex test', () => {
|
|
|
|
it('paste regex matches url', () => {
|
|
expect('https://www.example.com/with-spaces?var=true&foo=bar+3').to.match(pasteRegex)
|
|
})
|
|
|
|
})
|