Skip to content

Commit 661a855

Browse files
committed
Skip tests
1 parent 31b20ae commit 661a855

4 files changed

Lines changed: 24 additions & 24 deletions

File tree

RandSum0/__tests__/randsum.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
const genSum = require('../randsum')
22

3-
test('Providing "0" as argument should give an array that\'s empty', () => {
3+
test.skip('Providing "0" as argument should give an array that\'s empty', () => {
44
const arrayLength = 0
55
const randomArray = new genSum(arrayLength)
66

77
expect(randomArray.array.length).toBe(arrayLength)
88
expect(randomArray.sumArray()).toEqual([])
99
})
1010

11-
test('Providing "1" as argument should give an array that contains "0"', () => {
11+
test.skip('Providing "1" as argument should give an array that contains "0"', () => {
1212
const arrayLength = 1
1313
const randomArray = new genSum(arrayLength)
1414

1515
expect(randomArray.array.length).toBe(arrayLength)
1616
expect(randomArray.sumArray()).toEqual(0)
1717
})
1818

19-
test('Array should have length 4, and values should sum to 0', () => {
19+
test.skip('Array should have length 4, and values should sum to 0', () => {
2020
const arrayLength = 4
2121
const randomArray = new genSum(arrayLength)
2222

2323
expect(randomArray.array.length).toBe(arrayLength)
2424
expect(randomArray.sumArray()).toEqual(0)
2525
})
2626

27-
test('Array should have length 17, and values should sum to 0', () => {
27+
test.skip('Array should have length 17, and values should sum to 0', () => {
2828
const arrayLength = 17
2929
const randomArray = new genSum(arrayLength)
3030

fizzbuzz/__tests__/fizzbuzz.spec.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ const fs = require('fs')
33
const fizzbuzz = require('../fizzbuzz')
44
const fixtures = JSON.parse(fs.readFileSync(__dirname + '/fixtures.json'))
55

6-
test('0 fizzbuzz should answer empty array', () => {
6+
test.skip('0 fizzbuzz should answer empty array', () => {
77
expect(fizzbuzz(0)).toStrictEqual(fixtures.a0)
88
})
99

10-
test('2 fizzbuzz should answer proper array', () => {
10+
test.skip('2 fizzbuzz should answer proper array', () => {
1111
expect(fizzbuzz(2)).toStrictEqual(fixtures.a2)
1212
})
1313

14-
test('3 fizzbuzz should answer proper array', () => {
14+
test.skip('3 fizzbuzz should answer proper array', () => {
1515
expect(fizzbuzz(3)).toStrictEqual(fixtures.a3)
1616
})
1717

18-
test('5 fizzbuzz should answer proper array', () => {
18+
test.skip('5 fizzbuzz should answer proper array', () => {
1919
expect(fizzbuzz(5)).toStrictEqual(fixtures.a5)
2020
})
2121

22-
test('17 fizzbuzz should answer proper array', () => {
22+
test.skip('17 fizzbuzz should answer proper array', () => {
2323
expect(fizzbuzz(17)).toStrictEqual(fixtures.a17)
2424
})
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
const feeding = require('../pigeons')
22

3-
test('0 wheat should last for 0 pigeons', () => {
3+
test.skip('0 wheat should last for 0 pigeons', () => {
44
expect(feeding(0)).toBe(0)
55
})
66

7-
test('1 wheat should last for 1 pigeons', () => {
7+
test.skip('1 wheat should last for 1 pigeons', () => {
88
expect(feeding(1)).toBe(1)
99
})
1010

11-
test('2 wheat should last for 1 pigeons', () => {
11+
test.skip('2 wheat should last for 1 pigeons', () => {
1212
expect(feeding(2)).toBe(1)
1313
})
1414

15-
test('17 wheat should last for 10 pigeons', () => {
15+
test.skip('17 wheat should last for 10 pigeons', () => {
1616
expect(feeding(17)).toBe(10)
1717
})
1818

19-
test('100 wheat should last for 28 pigeons', () => {
19+
test.skip('100 wheat should last for 28 pigeons', () => {
2020
expect(feeding(100)).toBe(28)
2121
})
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
const isPrime = require('../isPrime')
22

3-
test('0 should not be a prime', () => {
3+
test.skip('0 should not be a prime', () => {
44
expect(isPrime(0)).toBe(false)
55
})
66

7-
test('1 should not be a prime', () => {
7+
test.skip('1 should not be a prime', () => {
88
expect(isPrime(1)).toBe(false)
99
})
1010

11-
test('2 should be a prime', () => {
11+
test.skip('2 should be a prime', () => {
1212
expect(isPrime(2)).toBe(true)
1313
})
1414

15-
test('3 should be a prime', () => {
15+
test.skip('3 should be a prime', () => {
1616
expect(isPrime(3)).toBe(true)
1717
})
1818

19-
test('5 should be a prime', () => {
19+
test.skip('5 should be a prime', () => {
2020
expect(isPrime(5)).toBe(true)
2121
})
2222

23-
test('6 should not be a prime', () => {
23+
test.skip('6 should not be a prime', () => {
2424
expect(isPrime(6)).toBe(false)
2525
})
2626

27-
test('15 should not be a prime', () => {
27+
test.skip('15 should not be a prime', () => {
2828
expect(isPrime(15)).toBe(false)
2929
})
3030

31-
test('27 should not be a prime', () => {
31+
test.skip('27 should not be a prime', () => {
3232
expect(isPrime(27)).toBe(false)
3333
})
3434

35-
test('97 should be a prime', () => {
35+
test.skip('97 should be a prime', () => {
3636
expect(isPrime(97)).toBe(true)
3737
})
3838

39-
test('3125 should not be a prime', () => {
39+
test.skip('3125 should not be a prime', () => {
4040
expect(isPrime(3125)).toBe(false)
4141
})

0 commit comments

Comments
 (0)