@itentialopensource/adapter-viavi_xpertrak 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  {
2
- "version": "0.1.1",
3
- "configLines": 9646,
2
+ "version": "0.3.0",
3
+ "configLines": 9737,
4
4
  "scriptLines": 1783,
5
5
  "codeLines": 9341,
6
- "testLines": 7400,
6
+ "testLines": 7406,
7
7
  "testCases": 372,
8
- "totalCodeLines": 18524,
8
+ "totalCodeLines": 18530,
9
9
  "wfTasks": 114
10
10
  }
@@ -278,6 +278,7 @@ describe('[unit] Viavi_xpertrak Adapter Test', () => {
278
278
  assert.notEqual(undefined, packageDotJson.scripts);
279
279
  assert.notEqual(null, packageDotJson.scripts);
280
280
  assert.notEqual('', packageDotJson.scripts);
281
+ assert.equal('node utils/setup.js', packageDotJson.scripts.preinstall);
281
282
  assert.equal('node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js', packageDotJson.scripts.lint);
282
283
  assert.equal('node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet', packageDotJson.scripts['lint:errors']);
283
284
  assert.equal('mocha test/unit/adapterBaseTestUnit.js --LOG=error', packageDotJson.scripts['test:baseunit']);
@@ -285,6 +286,8 @@ describe('[unit] Viavi_xpertrak Adapter Test', () => {
285
286
  assert.equal('mocha test/integration/adapterTestIntegration.js --LOG=error', packageDotJson.scripts['test:integration']);
286
287
  assert.equal('nyc --reporter html --reporter text mocha --reporter dot test/*', packageDotJson.scripts['test:cover']);
287
288
  assert.equal('npm run test:baseunit && npm run test:unit && npm run test:integration', packageDotJson.scripts.test);
289
+ assert.equal('npm publish --registry=https://registry.npmjs.org --access=public', packageDotJson.scripts.deploy);
290
+ assert.equal('npm run deploy', packageDotJson.scripts.build);
288
291
  done();
289
292
  } catch (error) {
290
293
  log.error(`Test Failure: ${error}`);
@@ -297,6 +300,9 @@ describe('[unit] Viavi_xpertrak Adapter Test', () => {
297
300
  assert.notEqual(undefined, packageDotJson.repository);
298
301
  assert.notEqual(null, packageDotJson.repository);
299
302
  assert.notEqual('', packageDotJson.repository);
303
+ assert.equal('git', packageDotJson.repository.type);
304
+ assert.equal('git@gitlab.com:itentialopensource/adapters/', packageDotJson.repository.url.substring(0, 43));
305
+ assert.equal('https://gitlab.com/itentialopensource/adapters/', packageDotJson.homepage.substring(0, 47));
300
306
  done();
301
307
  } catch (error) {
302
308
  log.error(`Test Failure: ${error}`);
@@ -310,7 +316,7 @@ describe('[unit] Viavi_xpertrak Adapter Test', () => {
310
316
  assert.notEqual(null, packageDotJson.dependencies);
311
317
  assert.notEqual('', packageDotJson.dependencies);
312
318
  assert.equal('^8.12.0', packageDotJson.dependencies.ajv);
313
- assert.equal('^1.6.3', packageDotJson.dependencies.axios);
319
+ assert.equal('^1.6.5', packageDotJson.dependencies.axios);
314
320
  assert.equal('^11.0.0', packageDotJson.dependencies.commander);
315
321
  assert.equal('^11.1.1', packageDotJson.dependencies['fs-extra']);
316
322
  assert.equal('^10.2.0', packageDotJson.dependencies.mocha);
@@ -557,7 +563,7 @@ describe('[unit] Viavi_xpertrak Adapter Test', () => {
557
563
  log.error(`Adapter Exception: ${error}`);
558
564
  done(error);
559
565
  }
560
- });
566
+ }).timeout(attemptTimeout);
561
567
  });
562
568
 
563
569
  describe('propertiesSchema.json', () => {
File without changes