@furystack/utils
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -86,3 +86,3 @@ "use strict"; | ||
v.dispose(); | ||
expect(() => v.setValue(3)).toThrowError('ObservableValue is already disposed'); | ||
expect(() => v.setValue(3)).toThrowError('Observable already disposed'); | ||
}); | ||
@@ -92,3 +92,3 @@ it('should throw an error for setValue() when the observer has been disposed', () => { | ||
v.dispose(); | ||
expect(() => v.getValue()).toThrowError('ObservableValue is already disposed'); | ||
expect(() => v.getValue()).toThrowError('Observable already disposed'); | ||
}); | ||
@@ -95,0 +95,0 @@ it('should remove the subscription only from the disposed Observer', (done) => { |
{ | ||
"name": "@furystack/utils", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "General utilities", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -93,3 +93,3 @@ import { ObservableValue } from './observable-value' | ||
v.dispose() | ||
expect(() => v.setValue(3)).toThrowError('ObservableValue is already disposed') | ||
expect(() => v.setValue(3)).toThrowError('Observable already disposed') | ||
}) | ||
@@ -100,3 +100,3 @@ | ||
v.dispose() | ||
expect(() => v.getValue()).toThrowError('ObservableValue is already disposed') | ||
expect(() => v.getValue()).toThrowError('Observable already disposed') | ||
}) | ||
@@ -103,0 +103,0 @@ |
Sorry, the diff of this file is not supported yet
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
153906