first-commit
Some checks failed
CI Pipeline / build (push) Failing after 3m23s

This commit is contained in:
2025-08-27 14:05:33 +08:00
commit 9e1b8bdc9d
5159 changed files with 1081326 additions and 0 deletions

28
node_modules/mark.js/test/specs/basic/entities.js generated vendored Normal file
View File

@@ -0,0 +1,28 @@
'use strict';
describe('basic mark with HTML entities', function() {
var $ctx1, $ctx2;
beforeEach(function(done) {
loadFixtures('basic/entities.html');
$ctx1 = $('.basic-entities > div:first-child');
$ctx2 = $('.basic-entities > div:last-child');
new Mark($ctx1[0]).mark('Lorem © ipsum', {
'diacritics': false,
'separateWordSearch': false,
'done': function() {
new Mark($ctx2[0]).mark('justo √ duo', {
'diacritics': false,
'separateWordSearch': false,
'done': function() {
done();
}
});
}
});
});
it('should wrap matches', function() {
expect($ctx1.find('mark')).toHaveLength(1);
expect($ctx2.find('mark')).toHaveLength(1);
});
});