Update import project to have friendly names for the extract file organization options (#11123)

* udpate import to have friendly names for the extract file organization options

* update tests

* update message

* remove camelcase stuff

* use localized constants instead of enum
This commit is contained in:
Kim Santiago
2020-06-29 15:37:28 -07:00
committed by GitHub
parent 5d3178f649
commit 6b8eafbf2e
5 changed files with 19 additions and 41 deletions

View File

@@ -6,15 +6,7 @@
import * as should from 'should';
import * as path from 'path';
import {createDummyFileStructure} from './testUtils';
import {toPascalCase, exists} from '../common/utils';
describe('Tests for conversion within PascalCase and camelCase', function (): void {
it('Should generate PascalCase from camelCase correctly', async () => {
should(toPascalCase('')).equal('');
should(toPascalCase('camelCase')).equal('CamelCase');
should(toPascalCase('camel.case')).equal('Camel.case');
});
});
import { exists} from '../common/utils';
describe('Tests to verify exists function', function (): void {
it('Should determine existence of files/folders', async () => {