Skip to content

Commit 0ffda89

Browse files
authored
Merge pull request #12 from baumannzone/dev
Me voy a dormir 😴
2 parents d299368 + 8f75bd1 commit 0ffda89

6 files changed

Lines changed: 12 additions & 20 deletions

File tree

test-0.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/**
2-
* test-0.js
3-
* El ejemplo más básico de un test en javascript. En este caso, falla.
4-
*/
1+
// test-0.js
2+
// El ejemplo más básico de un test en javascript. En este caso, falla.
53

64
const resultado = 1
75
const esperado = 2

test-1.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/**
2-
* test-1.js
3-
*/
1+
// test-1.js
42

53
const { suma, resta } = require( './funcionesMatematicas' )
64

test-2.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
/**
2-
* test-2.js
3-
* https://nodejs.org/api/assert.html#assert_assert
4-
*/
1+
// test-2.js
2+
// https://nodejs.org/api/assert.html#assert_assert
3+
54
const assert = require( 'assert' )
65
const { suma, resta } = require( './funcionesMatematicas' )
76

test-3.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/**
2-
* test-3.js
3-
*/
1+
// test-3.js
2+
43
const { suma, resta } = require( './funcionesMatematicas' )
54
const { esperoQue } = require( './funcionesTesting' )
65

test-4.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/**
2-
* test-4.js
3-
*/
1+
// test-4.js
2+
43
const { suma, resta } = require( './funcionesMatematicas' )
54
const { esperoQue, prueba } = require( './funcionesTesting' )
65

test-5.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
/**
2-
* test-4.js
3-
*/
1+
// test-5.js
2+
43
const { suma, resta } = require( './funcionesMatematicas' )
54

65
test( 'Suma 2 números positivos correctamente', () => {

0 commit comments

Comments
 (0)