mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-05-16 10:17:27 +01:00
Initial Move from Azure DevOps to GitHub
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { StringUtility } from "./StringUtility";
|
||||
|
||||
describe("String utility", () => {
|
||||
it("Convert to integer from string", () => {
|
||||
expect(StringUtility.toNumber("123")).toBe(123);
|
||||
});
|
||||
|
||||
it("Convert to boolean from string (true)", () => {
|
||||
expect(StringUtility.toBoolean("true")).toBe(true);
|
||||
});
|
||||
|
||||
it("Convert to boolean from string (false)", () => {
|
||||
expect(StringUtility.toBoolean("false")).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user