Compare commits
2 commits
472a21b2f0
...
193a6123e1
Author | SHA1 | Date | |
---|---|---|---|
193a6123e1 | |||
96d84eed29 |
2 changed files with 10 additions and 12 deletions
|
@ -31,22 +31,20 @@ describe("Date with correct timezone", () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("String time to seconds", () => {
|
/* describe("String time to seconds", () => {
|
||||||
{
|
{
|
||||||
const name = "todo";
|
const name = "10m30";
|
||||||
// strToSeconds
|
|
||||||
test(name, () => {
|
test(name, () => {
|
||||||
expect(() => (name ? true : false)).toBe(true);
|
expect(strToSeconds(name)).toBe(630);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
|
|
||||||
describe("Time delta", () => {
|
/* describe("Time delta", () => {
|
||||||
{
|
{
|
||||||
const name = "todo";
|
const name = 1312;
|
||||||
// timeDeltaToString
|
test(name.toString(), () => {
|
||||||
test(name, () => {
|
expect(timeDeltaToString(name)).toBe("0 secs");
|
||||||
expect(() => (name ? true : false)).toBe(true);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
}); */
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
/* Modules */
|
/* Modules */
|
||||||
"module": "commonjs" /* Specify what module code is generated. */,
|
"module": "commonjs" /* Specify what module code is generated. */,
|
||||||
// "rootDir": "./src" /* Specify the root folder within your source files. */,
|
"rootDir": "./src" /* Specify the root folder within your source files. */,
|
||||||
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
||||||
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
||||||
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
||||||
|
|
Loading…
Reference in a new issue