Skip to content

Commit 84efb75

Browse files
docs(test/constants): set proper comment for constants
1 parent f74b8ad commit 84efb75

4 files changed

Lines changed: 10 additions & 7 deletions

File tree

src/testing/variables/array.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Variables.
1+
// Constant.
22
import { BIGINT, BIGINT_INSTANCE } from './big-int.const';
33
import { Class } from './class.const';
44
import { FALSE, TRUE, TRUE_INSTANCE, FALSE_INSTANCE } from './boolean.const';

src/testing/variables/object.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Variables.
1+
// Constant.
22
import { NUMBER } from './number.const';
33
import { STRING } from './string.const';
44
import { SYMBOL_NUMBER, SYMBOL_STRING } from './strict/symbol.const';

src/testing/variables/strict/array.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Variables.
1+
// Constant.
22
import { BIGINT, BIGINT_INSTANCE } from './big-int.const';
33
import { Class } from './class.const';
44
import { FALSE, TRUE, TRUE_INSTANCE, FALSE_INSTANCE } from './boolean.const';

src/testing/variables/strict/class.const.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
// Constant.
12
import { STRING } from './string.const';
23
import { NUMBER } from './number.const';
34
import { SYMBOL_STRING, SYMBOL_NUMBER } from './symbol.const';
5+
// Interface.
6+
import { Person } from '../../interface/person.interface';
47

58
/**
69
* typeof === 'function'
@@ -48,17 +51,17 @@ export const TEST_CLASS = new TestClass();
4851
export const CLASS = new Class();
4952

5053

51-
export class Person {
54+
export class Persons implements Person {
5255
firstName = '';
5356
surname = '';
5457
age = 15;
5558
}
5659

57-
export class PersonCopy {
60+
export class PersonsCopy {
5861
firstName = '';
5962
surname = '';
6063
age = 15;
6164
}
6265

63-
export const PERSON: Person = new Person();
64-
export const PERSON_COPY: PersonCopy = new PersonCopy();
66+
export const PERSON: Persons = new Persons();
67+
export const PERSON_COPY: PersonsCopy = new PersonsCopy();

0 commit comments

Comments
 (0)