Skip to content

Commit

Permalink
Clean up minor flaws in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leoselig committed Apr 23, 2017
1 parent 8bedab3 commit 9009e35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/dynamicImport.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('import()', () => {
],
};

it('CFG should resolve the path based on the root config', () => {
it('should resolve the path based on the root config', () => {
const code = 'import("app").then(() => {}).catch(() => {});';
const result = transform(code, transformerOpts);

Expand Down Expand Up @@ -51,7 +51,7 @@ describe('import()', () => {
});

it('should handle an empty path', () => {
const code = 'import(\'\').then(() => {}).catch(() => {});';
const code = 'import("").then(() => {}).catch(() => {});';
const result = transform(code, transformerOpts);

expect(result.code).toBe('import(\'\').then(() => {}).catch(() => {});');
Expand Down

0 comments on commit 9009e35

Please sign in to comment.