Skip to content

Commit

Permalink
modify test files
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyoseni committed Apr 3, 2017
1 parent 8142580 commit 0c0cd88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions jasmine/spec/InvertedIndexSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ describe('Meek Inverted Index', () => {
expect(InvertedIndex).toBeDefined();
});

it('should have defined instance', () => {
expect(meek).toBeDefined();
});

it('can create instances of inverted index class', () => {
expect(meek instanceof InvertedIndex).toBeTruthy();
});
Expand Down Expand Up @@ -89,8 +85,8 @@ describe('Meek Inverted Index', () => {
expect(InvertedIndex.validateFile(emptyFile)).toBeFalsy();
});

it('should return false if file is a JSON file but not' +
'an array of an array',
it(`should return false if file is a JSON file but not
an array of an array`,
() => {
expect(InvertedIndex.validateFile(notValid)).toBeFalsy();
});
Expand Down
8 changes: 2 additions & 6 deletions jasmine/testfiles/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ describe('Meek Inverted Index', () => {
expect(InvertedIndex).toBeDefined();
});

it('should have defined instance', () => {
expect(meek).toBeDefined();
});

it('can create instances of inverted index class', () => {
expect(meek instanceof InvertedIndex).toBeTruthy();
});
Expand Down Expand Up @@ -169,8 +165,8 @@ describe('Meek Inverted Index', () => {
expect(InvertedIndex.validateFile(emptyFile)).toBeFalsy();
});

it('should return false if file is a JSON file but not' +
'an array of an array',
it(`should return false if file is a JSON file but not
an array of an array`,
() => {
expect(InvertedIndex.validateFile(notValid)).toBeFalsy();
});
Expand Down

0 comments on commit 0c0cd88

Please sign in to comment.