@f5devcentral/atg-shared-utilities
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -15,2 +15,6 @@ # Changelog | ||
## [0.4.1] - 2022-01-07 | ||
### Changed | ||
- Update packages | ||
## [0.3.0] - 2021-11-15 | ||
@@ -17,0 +21,0 @@ ### Added |
{ | ||
"name": "@f5devcentral/atg-shared-utilities", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"scripts": { | ||
@@ -10,7 +10,7 @@ "lint": "eslint .", | ||
"devDependencies": { | ||
"@f5devcentral/eslint-config-f5-atg": "^0.1.5", | ||
"@f5devcentral/eslint-config-f5-atg": "latest", | ||
"chai": "^4.3.4", | ||
"chai-as-promised": "^7.1.1", | ||
"eslint": "^7.32.0", | ||
"eslint-plugin-import": "^2.25.3", | ||
"eslint-plugin-import": "^2.25.4", | ||
"mocha": "^9.1.3", | ||
@@ -17,0 +17,0 @@ "nock": "10.0.0", |
@@ -155,4 +155,8 @@ /* Copyright 2021 F5 Networks, Inc. | ||
it('should return a new span with default and specified tags', () => { | ||
const span = tracer.startHttpSpan('/resources/{name}', '/resources/myResource', | ||
'post', { tags: { a: 'b', c: 'd' } }); | ||
const span = tracer.startHttpSpan( | ||
'/resources/{name}', | ||
'/resources/myResource', | ||
'post', | ||
{ tags: { a: 'b', c: 'd' } } | ||
); | ||
assert.includeDeepMembers(span.tags, [ | ||
@@ -247,3 +251,5 @@ { key: 'span.kind', value: 'server' }, | ||
// default interval is 1000 ms | ||
return new Promise((resolve) => setTimeout(resolve, 1500)) | ||
return new Promise((resolve) => { | ||
setTimeout(resolve, 1500); | ||
}) | ||
.then(() => { | ||
@@ -250,0 +256,0 @@ assert(spanReq, 'span request should be sent'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112612
2310