Skip to content

Tech Debt: Configure testing of *.tsx files #2610

Closed
@alexec

Description

Summary

We should be able to test tsx files.

Motivation

To improve the code quality.

Proposal

Not sure, need to fix this error:

    TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
    src/app/applications/components/utils.test.ts:1:33 - error TS6142: Module './utils' was resolved to '/Users/acollins8/go/src/github.com/argoproj/argo-cd/ui/src/app/applications/components/utils.tsx', but '--jsx' is not set.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions