Fix test
This commit is contained in:
Родитель
086c4751f1
Коммит
8113be97c7
|
@ -18,7 +18,7 @@
|
||||||
const CognitiveServicesCredentials = require('ms-rest-azure').CognitiveServicesCredentials;
|
const CognitiveServicesCredentials = require('ms-rest-azure').CognitiveServicesCredentials;
|
||||||
|
|
||||||
const SuiteBase = require('../../framework/suite-base');
|
const SuiteBase = require('../../framework/suite-base');
|
||||||
const SpellCheckAPIClient = require('../../../lib/services/spellCheck/lib/spellCheckAPIClient');
|
const SpellCheckClient = require('../../../lib/services/spellCheck/lib/spellCheckClient');
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
|
|
||||||
var requiredEnvironment = [
|
var requiredEnvironment = [
|
||||||
|
@ -35,7 +35,7 @@ describe('Spell Check', () => {
|
||||||
suite = new SuiteBase(this, testPrefix, requiredEnvironment);
|
suite = new SuiteBase(this, testPrefix, requiredEnvironment);
|
||||||
suite.setupSuite(() => {
|
suite.setupSuite(() => {
|
||||||
credentials = new CognitiveServicesCredentials(process.env["AZURE_SPELL_CHECK_KEY"]);
|
credentials = new CognitiveServicesCredentials(process.env["AZURE_SPELL_CHECK_KEY"]);
|
||||||
client = new SpellCheckAPIClient(credentials);
|
client = new SpellCheckClient(credentials);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче