* fix(nextjs): fix issue where using .ts files in next.js app would result in a compile error
The issue was just a misconfiguration in the next's config.ts file: Webpack was only applying the
babel loader on .tsx files.
The updated regex will now load both .ts and .tsx files.
ISSUES CLOSED: #2249
* cleanup(testing): add missing tests for pull request #2276
Co-authored-by: tdnll <40502786+tdnll@users.noreply.github.com>