devstar插件

This commit is contained in:
2025-07-26 16:40:29 +08:00
commit 30033daafe
4387 changed files with 1041101 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
'use strict';
describe('basic mark with caseSenstive and diacritics', function() {
var $ctx;
beforeEach(function(done) {
loadFixtures('basic/case-sensitive-diacritics.html');
$ctx = $('.basic-case-sensitive-diacritics');
new Mark($ctx.get()).mark(['Dolor', 'Amet', 'Aliquam', 'Lorem ipsum'], {
'separateWordSearch': false,
'caseSensitive': true,
'done': done
});
});
it('should find case sensitive matches with diacritics', function() {
expect($ctx.find('mark')).toHaveLength(8);
});
});