Skip to content

codecov/typescript-standard

Repository files navigation

TypeScript-Standard

Workflow for Typescript Standard Action codecov FOSSA Status

Last Updated: 09/14/23 00:12:50

What is this?

This is a TypeScript application, with basic unit tests, for which coverage is uploaded to Codecov on a daily basis. It can also serve as an example for how to integrate Codecov into your TypeScript project. If the build is passing for this project, then Codecov's TypeScript report processing is functional and correct on codecov.io.

Configuration

This project is written in TypeScript 3.5.3. Unit tests are written with the Jest testing framework. Coverage reports are also generated via Jest.

Unit tests: src/index.test.ts which tests src/index.ts

Errors Generating TypeScript Reports

In some instances, there may be errors where coverage reports target transpiled JavaScript files instead of TypeScript files. This is most likely due to the fact that your test runner configuration is not set properly.

Example repository with Jest config

Reporting Issues

If you've discovered an issue with this repository or with TypeScript processing in general, it is recommended to email [email protected] rather than post an issue here. This repository will not be checked regularly for open issues.

Contributing

Contributions are welcome! If you'd like to contribute to this repository, feel free to open a pull request or flag an issue. If you would like to contribute a new lanaguage standard, you can get more information here.

License

FOSSA Status