Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit 4130644

Browse files
committed
removed workaround comments
1 parent c7af8a6 commit 4130644

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/directives/formly-field.test.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,19 +1025,6 @@ describe('formly-field', function() {
10251025

10261026
const ctrl = getNgModelCtrl();
10271027

1028-
//workaround: this formats the model value right off the bat,
1029-
//without the workaround, the initial model value stays unformatted
1030-
1031-
/*
1032-
let value = ctrl.$modelValue;
1033-
ctrl.$formatters.forEach((formatter) => {
1034-
value = formatter(value);
1035-
});
1036-
1037-
ctrl.$setViewValue(value);
1038-
ctrl.$render();
1039-
*/
1040-
10411028
expect(ctrl.$viewValue).to.equal('!hello!');
10421029
});
10431030
});

0 commit comments

Comments
 (0)