👩💻 Create or play Interactive coding tutorials in VSCode
GNU Affero General Public License v3.0
949
stars
39
forks
source link
"Test Runner Failed" error when I try to run freeCodeCamp tutorial(working on gitpod) in my local VSCode #618
Open
ndubbaka opened 4 months ago
Describe the bug tutorial at https://raw.githubusercontent.com/freeCodeCamp/learn-relational-databases-by-building-a-mario-database/main/tutorial.json is working on gitpod from https://www.freecodecamp.org/learn/relational-database/learn-relational-databases-by-building-a-mario-database/build-a-mario-database but it's not working locally on my Mac visual studio code.
To Reproduce Steps to reproduce the behavior:
const lastCommand = await getLastCommand(); assert(lastCommand[0] === 'echo' && lastCommand[1] === 'hello' && lastCommand[2] === 'PostgreSQL');
has the function getLastCommand https://github.com/freeCodeCamp/learn-relational-databases-by-building-a-mario-database/blob/v2.0.0/.freeCodeCamp/test/utils.js#L9 which is looking at .bash_history file.const getLastCommand = async (howManyBack = 0, parse = true, dir = process.cwd()) => { const pathToBashLogs = path.join(dir, '../../', '.bash_history');
Expected behavior not see the error "Test Runner Failed" and I am expected to successfully complete level 1 & navigate to level 2.
Desktop:
VSCode:
Node:
Git (please complete the following information):