mirror of
https://github.com/hanzoai/core-js.git
synced 2026-09-24 16:58:15 +00:00
12 lines
351 B
JavaScript
12 lines
351 B
JavaScript
import blink from 'core-js-pure/es/string/blink';
|
|
|
|
QUnit.test('String#blink', assert => {
|
|
assert.isFunction(blink);
|
|
assert.same(blink('a'), '<blink>a</blink>', 'lower case');
|
|
|
|
/* eslint-disable es/no-symbol -- safe */
|
|
if (typeof Symbol == 'function') {
|
|
assert.throws(() => blink(Symbol('blink test')), 'throws on symbol context');
|
|
}
|
|
});
|