vscode jest cannot find name (javascript) Как исправить ошибку в подсказках

Используйте явный импорт (он не нужен для запуска тестов, но нужен, если вы включили проверку) требуемых вам функций:

import { expect, test } from '@jest/globals';

test('true and true = true', () => {
  expect(pjs.getVarValue('e')).toBe(true);
});

Мой jsconfig.json:

{
    "compilerOptions": {
        "checkJs": true,
        "module": "es2020",
        "moduleResolution":"node"
    },
    "exclude": [
        "node_modules",
    ]
}

-- в данном случае решение для javascript

Key Words for FKN + antitotal forum (CS VSU):