| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 | import { Squares } from './difference-of-squares';// eslint-disable-next-line no-global-assignxit = itdescribe('Squares', () => {  describe('up to 5', () => {    const squares = new Squares(5)    it('gets the square of sum', () => {      expect(squares.squareOfSum).toBe(225)    })    xit('gets the sum of squares', () => {      expect(squares.sumOfSquares).toBe(55)    })    xit('gets the difference', () => {      expect(squares.difference).toBe(170)    })  })  describe('up to 10', () => {    const squares = new Squares(10)    xit('gets the square of sum', () => {      expect(squares.squareOfSum).toBe(3025)    })    xit('gets the sum of squares', () => {      expect(squares.sumOfSquares).toBe(385)    })    xit('gets the difference', () => {      expect(squares.difference).toBe(2640)    })  })  describe('up to 100', () => {    const squares = new Squares(100)    xit('gets the square of sum', () => {      expect(squares.squareOfSum).toBe(25502500)    })    xit('gets the sum of squares', () => {      expect(squares.sumOfSquares).toBe(338350)    })    xit('gets the difference', () => {      expect(squares.difference).toBe(25164150)    })  })})
 |