old_contents: "use strict"
  
  const expect = require('expect')
  const detectFormat = require('./detectFormat')
  
  {
      // can detect v1 BOX.RAW
      const isBoxRaw = {length: 320 * 66}
      const isNotBoxRaw = {length: 1}
  
      expect(detectFormat(isBoxRaw)).toBe('v1boxraw')
      expect(detectFormat(isNotBoxRaw)).toBe('unknown')
  }
  
  {
      // can detect v1 CHR
      const isV1Chr = {length: 16 * 32 * 30}
      const isAlsoV1Chr {length: 16 * 32 * 20}
      const isNotV1Chr = {length: 1}
  
      expect(detectFormat(isV1Chr)).toBe('v1chr')
      expect(detectFormat(isAlsoV1Chr)).toBe('v1chr')
      expect(detectFormat(isNotV1Chr)).toBe('unknown')
  }
new_contents: "use strict"
  
  const expect = require('expect')
  const detectFormat = require('./detectFormat')
  
  {
      // can detect v1 BOX.RAW
      const isBoxRaw = {length: 320 * 66}
      const isNotBoxRaw = {length: 1}
  
      expect(detectFormat(isBoxRaw)).toBe('v1boxraw')
      expect(detectFormat(isNotBoxRaw)).toBe('unknown')
  }
  
  {
      // can detect v1 CHR
      const isV1Chr = {length: 16 * 32 * 30}
      const isAlsoV1Chr = {length: 16 * 32 * 20}
      const isNotV1Chr = {length: 1}
  
      expect(detectFormat(isV1Chr)).toBe('v1chr')
      expect(detectFormat(isAlsoV1Chr)).toBe('v1chr')
      expect(detectFormat(isNotV1Chr)).toBe('unknown')
  }
subject: fix broken v1 chr detection test