import { determineRequiredCldrData, determineRequiredCldrGlobalizeFiles } from '../index';

describe('index', () => {

  it('2 + 2 = 4', () => {
    expect(2 +2).toBe(4);
  });
});

@@ -89,84 +89,2439 @@
 ';%0A%0A
-describe('index', () =%3E %7B%0A%0A  it('2 + 2 = 4', () =%3E %7B%0A    expect(2 +2).toBe(4
+const globalizeOptionsAll = %7B%0A  currency     : true,%0A  date         : true,%0A  message      : true,%0A  number       : true,%0A  plural       : true,%0A  relativeTime : true%0A%7D;%0A%0Aconst globalizeOptionsDateNumber = %7B%0A  date         : true,%0A  number       : true%0A%7D;%0A%0A%0Adescribe('determineRequiredCldrData', () =%3E %7B%0A  it('should return all JSON requiredments', () =%3E %7B%0A    const requiredCldrData = determineRequiredCldrData(globalizeOptionsAll);%0A    expect(requiredCldrData).toEqual(%5B%0A      'cldr/main/%7Blocale%7D/currencies.json',%0A      'cldr/supplemental/currencyData.json',%0A      'cldr/main/%7Blocale%7D/numbers.json',%0A      'cldr/supplemental/numberingSystems.json',%0A      'cldr/supplemental/likelySubtags.json',%0A      'cldr/supplemental/plurals.json',%0A      'cldr/supplemental/ordinals.json',%0A      'cldr/main/%7Blocale%7D/ca-gregorian.json',%0A      'cldr/main/%7Blocale%7D/timeZoneNames.json',%0A      'cldr/supplemental/timeData.json',%0A      'cldr/supplemental/weekData.json',%0A      'cldr/main/%7Blocale%7D/dateFields.json'%0A    %5D);%0A  %7D);%0A%0A  it('should return subset of JSON requiredments', () =%3E %7B%0A    const requiredCldrData = determineRequiredCldrData(globalizeOptionsDateNumber);%0A    expect(requiredCldrData).toEqual(%5B%0A      'cldr/main/%7Blocale%7D/ca-gregorian.json',%0A      'cldr/main/%7Blocale%7D/timeZoneNames.json',%0A      'cldr/supplemental/timeData.json',%0A      'cldr/supplemental/weekData.json',%0A      'cldr/main/%7Blocale%7D/numbers.json',%0A      'cldr/supplemental/numberingSystems.json',%0A      'cldr/supplemental/likelySubtags.json',%0A    %5D);%0A  %7D);%0A%7D);%0A%0Adescribe('determineRequiredCldrGlobalizeFiles', () =%3E %7B%0A  it('should return all JSON requiredments', () =%3E %7B%0A    const requiredCldrGlobalizeFiles = determineRequiredCldrGlobalizeFiles(globalizeOptionsAll);%0A    expect(requiredCldrGlobalizeFiles).toEqual(%5B%0A      'cldr.js',%0A      'cldr/event.js',%0A      'cldr/supplemental.js',%0A      'globalize.js',%0A      'globalize/currency.js',%0A      'globalize/date.js',%0A      'globalize/message.js',%0A      'globalize/number.js',%0A      'globalize/plural.js',%0A      'globalize/relative-time.js'%0A    %5D);%0A  %7D);%0A%0A  it('should return subset of JSON requiredments', () =%3E %7B%0A    const requiredCldrGlobalizeFiles = determineRequiredCldrGlobalizeFiles(globalizeOptionsDateNumber);%0A    expect(requiredCldrGlobalizeFiles).toEqual(%5B%0A      'cldr.js',%0A      'cldr/event.js',%0A      'cldr/supplemental.js',%0A      'globalize.js',%0A      'globalize/date.js',%0A      'globalize/number.js'%0A    %5D
 );%0A 

Add actual tests