@availity/api-core
Advanced tools
Comparing version 1.0.0-alpha.5 to 1.0.0-alpha.6
{ | ||
"name": "@availity/api-core", | ||
"version": "1.0.0-alpha.5", | ||
"version": "1.0.0-alpha.6", | ||
"description": "Base definitions for Availity API", | ||
@@ -17,6 +17,6 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@availity/localstorage-core": "^1.0.0-alpha.5" | ||
"@availity/localstorage-core": "^1.0.0-alpha.6" | ||
}, | ||
"devDependencies": { | ||
"@availity/localstorage-core": "^1.0.0-alpha.5" | ||
"@availity/localstorage-core": "^1.0.0-alpha.6" | ||
}, | ||
@@ -23,0 +23,0 @@ "publishConfig": { |
@@ -17,4 +17,4 @@ import AvApi from '../resource'; | ||
const params = Object.assign({}, { topicId: topic }); | ||
return this.query(Object.assign({}, { params })); | ||
return this.remove(Object.assign({}, { params })); | ||
} | ||
} |
@@ -20,3 +20,3 @@ import AvNotification from '../notification'; | ||
api = new AvNotification(mockHttp, Promise, {}); | ||
api.query = jest.fn(); | ||
api.remove = jest.fn(); | ||
@@ -27,4 +27,4 @@ const topic = 'test delete topic'; | ||
api.deleteByTopic(topic); | ||
expect(api.query).toHaveBeenLastCalledWith(expectedConfig); | ||
expect(api.remove).toHaveBeenLastCalledWith(expectedConfig); | ||
}); | ||
}); |
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
61182