SEARCH-840 Updates searchApiVer and AIP (#438)

* SEARCH-840 Migrates SwiftSearch to a different project https://github.com/symphonyoss/SwiftSearch

* SEARCH-840 Changes swift-search require

* SEARCH-840 refactor

* SEARCH-840 Changes swift-search version

* SEARCH-840 Changes warn message

* SEARCH-840 Updates api version and removes unwanted libraries from aip
This commit is contained in:
Keerthi Niranjan
2018-07-20 14:12:51 +05:30
committed by Vishwas Shashidhar
parent 6489990b19
commit 205c08977d
5 changed files with 15 additions and 22 deletions

View File

@@ -4,7 +4,8 @@ const { buildNumber } = require('../../package');
const electronVersion = require('../../package').devDependencies.electron;
const bluebird = require('bluebird');
const SEARCH_API_VERSION = '2.0.0';
const API_VERSION = '2.0.0';
const SEARCH_API_VERSION = '3.0.0';
let app = new Application({});
@@ -63,7 +64,7 @@ describe('Tests for getVersionInfo API', () => {
]).mapSeries((string) => {
return app.client.getText(string)
}).then((values) => {
expect(values[ 0 ]).toBe('2.0.0');
expect(values[ 0 ]).toBe(API_VERSION);
expect(values[ 1 ]).toBe('Electron');
expect(values[ 2 ]).toBe(electronVersion);
expect(values[ 3 ]).toBe(buildNumber);