mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
Updating error message on mongo collection create (#118)
* 1) Updated mongo collection create pane to display a better error when a shard key is ill formed. 2) Updated an error message to use double quotes since no string interpolation is used. I thought it was included in a previoue PR but I guess the change didn't get staged.
This commit is contained in:
@@ -373,12 +373,12 @@ describe("PricingUtils Tests", () => {
|
||||
expect(value).toBe(1);
|
||||
});
|
||||
|
||||
it("should return 1 for -1", () => {
|
||||
it("should return -1 for -1", () => {
|
||||
const value = PricingUtils.normalizeNumber(-1);
|
||||
expect(value).toBe(-1);
|
||||
});
|
||||
|
||||
it("should return 1 for 0.1", () => {
|
||||
it("should return 0 for 0.1", () => {
|
||||
const value = PricingUtils.normalizeNumber(0.1);
|
||||
expect(value).toBe(0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user