Skip to content

Commit 8120c1c

Browse files
Merge pull request #5 from angular-package/3.2.x
3.2.2
2 parents 3d61c47 + 6481d0e commit 8120c1c

29 files changed

+320
-139
lines changed

README.md

Lines changed: 142 additions & 54 deletions
Large diffs are not rendered by default.

packages/type/README.md

Lines changed: 142 additions & 54 deletions
Large diffs are not rendered by default.

packages/type/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/type/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-package/type",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "Common types, type guards and type checkers.",
55
"author": "Angular Package <[email protected]> (https://wvvw.dev)",
66
"homepage": "https://github.com/angular-package/type#readme",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
import { ResultCallback } from '../../../type/result-callback.type';
2-
export type IsNotUndefined = (value: unknown, callback?: ResultCallback) => boolean;
2+
export type IsNotUndefined = (value: unknown, callback?: ResultCallback) => boolean;

packages/type/src/is/test/is-big-int.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import { notDefined } from './variables/not-defined.const';
1414
* Checks
1515
* ✓ typeof === 'bigint'
1616
*/
17-
describe('isBigInt', () => {
17+
describe(isBigInt.name, () => {
1818
// TRUE
1919
it('is DEFINED', () => {
2020
expect(isBigInt).toBeDefined();
2121
});
22-
it(`'bigint'`, () => {
22+
it(`bigint`, () => {
2323
expect(isBigInt(BIGINT)).toBe(TRUE);
2424
expect(isBigInt(BIGINT_INSTANCE)).toBe(TRUE);
2525
isBigInt(BIGINT_INSTANCE, (result: boolean) => {
@@ -29,7 +29,7 @@ describe('isBigInt', () => {
2929
});
3030

3131
// FALSE
32-
it(`'boolean' | Boolean`, () => {
32+
it(`boolean | Boolean`, () => {
3333
expect(isBigInt(FALSE)).toBe(FALSE);
3434
expect(isBigInt(TRUE)).toBe(FALSE);
3535
expect(isBigInt(FALSE_INSTANCE)).toBe(FALSE);
@@ -43,7 +43,7 @@ describe('isBigInt', () => {
4343
expect(isBigInt(Class)).toBe(FALSE);
4444
expect(isBigInt(CLASS)).toBe(FALSE);
4545
});
46-
it(`'function' | Function`, () => expect(isBigInt(FUNCTION)).toBe(FALSE));
46+
it(`function | Function`, () => expect(isBigInt(FUNCTION)).toBe(FALSE));
4747
it(`null | NULL`, () => {
4848
expect(isBigInt(null)).toBe(FALSE);
4949
expect(isBigInt(NULL)).toBe(FALSE);

packages/type/src/is/test/is-boolean-object.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { notDefined } from './variables/not-defined.const';
1818
* ✓ instanceof Object
1919
* ✓ instanceof Boolean
2020
*/
21-
describe('isBooleanObject', () => {
21+
describe(isBooleanObject.name, () => {
2222
// TRUE
2323
it('is DEFINED', () => expect(isBooleanObject).toBeDefined());
2424
it(`Boolean`, () => {

packages/type/src/is/test/is-boolean-type.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { notDefined } from './variables/not-defined.const';
1818
* ✓ value === true
1919
* ✓ value === false
2020
*/
21-
describe('isBooleanType', () => {
21+
describe(isBooleanType.name, () => {
2222
// TRUE
2323
it('is DEFINED', () => expect(isBooleanType).toBeDefined());
2424
it(`boolean`, () => {

packages/type/src/is/test/is-boolean.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { notDefined } from './variables/not-defined.const';
1717
* ✓ typeof === 'boolean'
1818
* ✓ instanceof Boolean
1919
*/
20-
describe('isBoolean', () => {
20+
describe(isBoolean.name, () => {
2121
// TRUE
2222
it('is DEFINED', () => expect(isBoolean).toBeDefined());
2323
it(`'boolean' | Boolean`, () => {

packages/type/src/is/test/is-defined.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { notDefined } from './variables/not-defined.const';
1818
* ✓ typeof !== 'undefined'
1919
* ✓ vale !== undefined
2020
*/
21-
describe('isDefined', () => {
21+
describe(isDefined.name, () => {
2222
// TRUE
2323
it('is DEFINED', () => expect(isDefined).toBeDefined());
2424
it(`'boolean' | Boolean`, () => {

0 commit comments

Comments
 (0)