1
0
Fork 0

lint(test): switch deprecated substring method

This commit is contained in:
Sean Sube 2022-10-18 18:39:30 -05:00
parent 5421b27ff9
commit f8517089cf
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ describe('example properties', () => {
});
it('mapped properties', (done) => {
over('mapped properties', tuple(lorem(), integer()).map(([a, b]) => a.substr(b)), (it) => {
over('mapped properties', tuple(lorem(), integer()).map(([a, b]) => a.substring(b)), (it) => {
it('should have content', (text: string) => {
return text.length > 0;
});