Expected Behavior
the component tagging fails / tests fail to run with an error
Actual Behavior
it hangs with no error
Steps to Reproduce the Problem
1 cd project_directory
2 bit init
3 bit login
4 mkdir src
5 touch try.js
6 in try.js export default (a, b)=>a+b
7 mkdir __tests__
8 touch try.test.js
9 in try.test.js (the try function is not called in the expect method thus creating a test that doesn't work)
import try from "../try";
it('test try', () => expect((1, 2)).toEqual(3));
10 bit add src -t 'src/__tests__/*'
11 bit import bit.envs/compilers/babel -c
12 bit import bit.envs/testers/jest -t
13a bit tag --all 1.0.0
13b bit test
Specifications
- Bit version: 14.1.1
- Node version: 12.1.0
- npm / yarn version: 6.9.0
- Platform: Ubuntu Bionic Beaver
- Bit compiler (include version): bit.envs/compilers/babel@7.0.1
- Bit tester (include version): bit.envs/testers/jest@22.4.3
Expected Behavior
the component tagging fails / tests fail to run with an error
Actual Behavior
it hangs with no error
Steps to Reproduce the Problem
1
cd project_directory2
bit init3
bit login4
mkdir src5
touch try.js6 in try.js
export default (a, b)=>a+b7
mkdir __tests__8
touch try.test.js9 in try.test.js (the try function is not called in the expect method thus creating a test that doesn't work)
10
bit add src -t 'src/__tests__/*'11
bit import bit.envs/compilers/babel -c12
bit import bit.envs/testers/jest -t13a
bit tag --all 1.0.013b
bit testSpecifications