Comment

Comment by diggan

> should the tests be included in .npmignore or kept along with the library?

What are the reasons it would be a good idea to include the tests with the release/distribution of a package?

Seems like something you don't care about when you're just using it as a library, unless you want to modify something in it, but then you'll clone the library straight from a repository anyways, which includes the tests.

parent diggan 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton