From f8517089cf725795d04300e8cdc558e957f7f3d4 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Tue, 18 Oct 2022 18:39:30 -0500 Subject: [PATCH] lint(test): switch deprecated substring method --- test/TestOver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TestOver.ts b/test/TestOver.ts index adbe2e6..e786d23 100644 --- a/test/TestOver.ts +++ b/test/TestOver.ts @@ -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; });