Add comment

This commit is contained in:
Nora
2023-09-11 12:35:08 +00:00
parent 5b7124683a
commit f82b51f7c5

View File

@@ -21,6 +21,12 @@ import { AllCommands } from "../../../../src/common/commands";
jest.setTimeout(60_000);
describe("Db panel UI commands", () => {
// This test has some serious problems:
// a) it runs twice: we couldn't find out why
// b) all tests use the same dbConfig file, hence the tests depend on ORDER and have to use the same list name!
// c) since we use a file watcher to update the config we sometimes need to wait (sleep) before accessing the config again
// d) we depend on highlighted list items when adding a repo to a list. If there's not enough time in between, a test might think a list is highlighted that doesn't exist anymore
let storagePath: string;
const commandManager = createVSCodeCommandManager<AllCommands>();