Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions e2e/optional-dependencies/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# optional-dependencies

This project is used to end-2-end test how generate-license-file functions with optional
dependencies that are not present on disk, such as in the case of platform specific dependencies,
or deps that fail to install.

To test this case we just install using `--omit=optional`, so the optionals don't appear on disk.
7 changes: 7 additions & 0 deletions e2e/optional-dependencies/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
testMatch: ["**/*.spec.ts"],
testTimeout: 20000,
};
Loading