|
|
@@ -91,7 +91,6 @@ describe('format', function () {
|
|
|
});
|
|
|
|
|
|
it('converts the given pattern of a named function to a string', function () {
|
|
|
- // eslint-disable-next-line jsdoc/require-jsdoc
|
|
|
function foo() {}
|
|
|
const res = format(foo);
|
|
|
expect(res).to.be.eq('function foo() {}');
|
|
|
@@ -239,7 +238,6 @@ describe('format', function () {
|
|
|
});
|
|
|
|
|
|
it('returns a string representation of the given named function', function () {
|
|
|
- // eslint-disable-next-line jsdoc/require-jsdoc
|
|
|
function foo() {}
|
|
|
const res = format('%s', foo);
|
|
|
expect(res).to.be.eq('function foo() {}');
|
|
|
@@ -372,7 +370,6 @@ describe('format', function () {
|
|
|
});
|
|
|
|
|
|
it('returns a string representation of the given named function', function () {
|
|
|
- // eslint-disable-next-line jsdoc/require-jsdoc
|
|
|
function foo() {}
|
|
|
const res = format('%d', foo);
|
|
|
expect(res).to.be.eq('NaN');
|
|
|
@@ -495,7 +492,6 @@ describe('format', function () {
|
|
|
});
|
|
|
|
|
|
it('returns a string representation of the given named function', function () {
|
|
|
- // eslint-disable-next-line jsdoc/require-jsdoc
|
|
|
function foo() {}
|
|
|
const res = format('%j', foo);
|
|
|
expect(res).to.be.eq('undefined');
|
|
|
@@ -632,7 +628,6 @@ describe('format', function () {
|
|
|
});
|
|
|
|
|
|
it('returns a string representation of the given named function', function () {
|
|
|
- // eslint-disable-next-line jsdoc/require-jsdoc
|
|
|
function foo() {}
|
|
|
const res = format('%v', foo);
|
|
|
expect(res).to.be.eq('Function');
|
|
|
@@ -760,7 +755,6 @@ describe('format', function () {
|
|
|
});
|
|
|
|
|
|
it('returns a string representation of the given named function', function () {
|
|
|
- // eslint-disable-next-line jsdoc/require-jsdoc
|
|
|
function foo() {}
|
|
|
const res = format('%l', foo);
|
|
|
expect(res).to.be.eq('Function');
|
|
|
@@ -897,7 +891,6 @@ describe('format', function () {
|
|
|
});
|
|
|
|
|
|
it('returns an element representation of the given named function', function () {
|
|
|
- // eslint-disable-next-line jsdoc/require-jsdoc
|
|
|
function foo() {}
|
|
|
const res = format('%l', [foo]);
|
|
|
expect(res).to.be.eq('Function');
|