Fix use of `this` inside amplify-tests.ts (#44343)
Fix use of `this` inside amplify-tests.ts (#44343)

* Fix use of `this` inside amplify-tests.ts

The tests incorrectly use `this` inside an arrow function. This is
flagged as an error inside modules now, since `this` is supposed to be
`undefined`.

* fix space lint

* add newline
mcliment/DefinitelyTyped,dsebastien/DefinitelyTyped,markogresak/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped