Fix dependencies: Add flag-icons, tailwind directives, and postcss config

This commit is contained in:
MivoDev
2026-01-18 11:16:21 +07:00
commit 266a4b1296
10758 changed files with 1547435 additions and 0 deletions

25
node_modules/mark.js/test/specs/regexp/no-match.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
'use strict';
describe('mark with regular expression and noMatch callback', function() {
var $ctx, notFound, notFoundCalled;
beforeEach(function(done) {
loadFixtures('regexp/main.html');
$ctx = $('.regexp > div:first-child');
notFound = null;
notFoundCalled = 0;
new Mark($ctx[0]).markRegExp(/test/gmi, {
'noMatch': function(regexp) {
notFoundCalled++;
notFound = regexp;
},
'done': function() {
done();
}
});
});
it('should call noMatch with the regular expression', function() {
expect(notFoundCalled).toBe(1);
expect(notFound instanceof RegExp).toBe(true);
});
});