diff --git a/Jenkinsfile b/Jenkinsfile index 2d00147..4e2c5f0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stages { stage('Build Application') { steps { - nodejs("11.9") { sh "npm install" } + sh "env | sort" } } stage('Run Unit Tests') { diff --git a/src/Calculator.test.js b/src/Calculator.test.js index 0c489a0..c7e8210 100644 --- a/src/Calculator.test.js +++ b/src/Calculator.test.js @@ -11,7 +11,7 @@ it('calculates Celsius correctly', () => { assert.equal(actualF, expectedF); }); -it('calculates Celsius correctly', () => { +it('calculates Farhenheit correctly', () => { const calc = new TemperatureCalculations; const expectedC = 100