Skip to content

Commit

Permalink
restrict e2e test root
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Sep 18, 2024
1 parent a8eac2c commit 812a8c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jest.e2e.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const path = require("path");

module.exports = {
moduleFileExtensions: ["js", "ts"],
// restrict the roots here so jest doesn't complain about *other* snapshots it sees as obsolete
roots: ["<rootDir>/src/language-server/__e2e__"],
testMatch: ["<rootDir>/src/**/*.e2e.ts"],
testEnvironment: "./src/__e2e__/vscode-environment.js",
setupFiles: ["./src/__e2e__/setup.js"],
Expand Down

0 comments on commit 812a8c3

Please sign in to comment.