Skip to content

Commit

Permalink
Merge pull request #7 from frontity/5-add-new-feature-string-and-tests
Browse files Browse the repository at this point in the history
Add new feature string and tests
  • Loading branch information
Eduardo Campaña authored Jun 20, 2018
2 parents f39059b + 7df1858 commit f12c080
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ export const string200 =

export const string400 =
'asdfdasdfdasfasfdafasfasfasfasfasfasfsafasfasfasdfdasfasfasfsdasdfasdasafsfsafsdsdf asdfdasdfdasfasfdafasfasfasfasfasfasfsafasfasfasdfdasfasfasfsdasdfasdasafsfsafsdsdf';

export const newFeature = 'sooo important new feature';
10 changes: 10 additions & 0 deletions index.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
import { newFeature } from './index';

test('should pass', () => {
expect(3).toBe(3);
});

test('new Feature text', () => {
expect(newFeature).toBe('sooo important new feature');
});

test('extra new Feature text', () => {
expect(typeof newFeature).toBe('string');
});

0 comments on commit f12c080

Please sign in to comment.