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; });