chore(test): fix 'createDocuemntFragment' error when using jquery