@@ -20,7 +20,7 @@ function isMethodOf(mod: string) {
20
20
}
21
21
22
22
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)
24
24
address : {
25
25
cityPrefix : [ 'pt_BR' , 'pt_PT' ] ,
26
26
citySuffix : [ 'pt_PT' ] ,
@@ -74,7 +74,8 @@ describe('functional tests', () => {
74
74
modules [ module ] . forEach ( ( meth ) => {
75
75
const testAssertion = ( ) => {
76
76
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 ) ;
78
79
const result = faker [ module ] [ meth ] ( ) ;
79
80
80
81
if ( meth === 'boolean' ) {
@@ -87,7 +88,7 @@ describe('functional tests', () => {
87
88
if ( isWorkingLocaleForMethod ( module , meth , locale ) ) {
88
89
it ( meth + '()' , testAssertion ) ;
89
90
} else {
90
- // TODO: Remove once there are no more failures
91
+ // TODO ST-DDT 2022-03-28 : Remove once there are no more failures
91
92
// We expect a failure here to ensure we remove the exclusions when fixed
92
93
it . fails ( meth + '()' , testAssertion ) ;
93
94
}
@@ -106,7 +107,8 @@ describe('faker.fake functional tests', () => {
106
107
modules [ module ] . forEach ( ( meth ) => {
107
108
it ( meth + '()' , ( ) => {
108
109
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 ) ;
110
112
const result = faker . fake ( '{{' + module + '.' + meth + '}}' ) ;
111
113
112
114
expect ( result ) . toBeTypeOf ( 'string' ) ;
0 commit comments