Skip to content

Generate tests for dtslint with CTA#1281

Draft
JanKrivanek wants to merge 1 commit intomicrosoft:mainfrom
JanKrivanek:dev/jankrivanek/testgen-dtslint-cta
Draft

Generate tests for dtslint with CTA#1281
JanKrivanek wants to merge 1 commit intomicrosoft:mainfrom
JanKrivanek:dev/jankrivanek/testgen-dtslint-cta

Conversation

@JanKrivanek
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is basically the same as the vanilla one except with a lot less coverage. Still only covers pure functions, even though the high-value tests would be of the impure functions.

/// <reference types="jest" />
import { assertPackageIsNotDeprecated } from "../src/index";

describe("assertPackageIsNotDeprecated extended", () => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not edit the existing index.test.ts?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants