Skip to content

Commit 23c17ee

Browse files
committed
chore: use official todos
1 parent ea239bf commit 23c17ee

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

test/all_functional.spec.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function isMethodOf(mod: string) {
2020
}
2121

2222
const BROKEN_LOCALE_METHODS = {
23-
// these are TODOs (usually broken locale files)
23+
// TODO ST-DDT 2022-03-28: these are TODOs (usually broken locale files)
2424
address: {
2525
cityPrefix: ['pt_BR', 'pt_PT'],
2626
citySuffix: ['pt_PT'],
@@ -74,7 +74,8 @@ describe('functional tests', () => {
7474
modules[module].forEach((meth) => {
7575
const testAssertion = () => {
7676
faker.locale = locale;
77-
faker.seed(1); // TODO: Use random seed once there are no more failures
77+
// TODO ST-DDT 2022-03-28: Use random seed once there are no more failures
78+
faker.seed(1);
7879
const result = faker[module][meth]();
7980

8081
if (meth === 'boolean') {
@@ -87,7 +88,7 @@ describe('functional tests', () => {
8788
if (isWorkingLocaleForMethod(module, meth, locale)) {
8889
it(meth + '()', testAssertion);
8990
} else {
90-
// TODO: Remove once there are no more failures
91+
// TODO ST-DDT 2022-03-28: Remove once there are no more failures
9192
// We expect a failure here to ensure we remove the exclusions when fixed
9293
it.fails(meth + '()', testAssertion);
9394
}
@@ -106,7 +107,8 @@ describe('faker.fake functional tests', () => {
106107
modules[module].forEach((meth) => {
107108
it(meth + '()', () => {
108109
faker.locale = locale;
109-
faker.seed(1); // TODO: Use random seed once there are no more failures
110+
// TODO ST-DDT 2022-03-28: Use random seed once there are no more failures
111+
faker.seed(1);
110112
const result = faker.fake('{{' + module + '.' + meth + '}}');
111113

112114
expect(result).toBeTypeOf('string');

0 commit comments

Comments
 (0)