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";
|
||||
// strToSeconds
|
||||
const name = "10m30";
|
||||
test(name, () => {
|
||||
expect(() => (name ? true : false)).toBe(true);
|
||||
expect(strToSeconds(name)).toBe(630);
|
||||
});
|
||||
}
|
||||
});
|
||||
}); */
|
||||
|
||||
describe("Time delta", () => {
|
||||
/* describe("Time delta", () => {
|
||||
{
|
||||
const name = "todo";
|
||||
// timeDeltaToString
|
||||
test(name, () => {
|
||||
expect(() => (name ? true : false)).toBe(true);
|
||||
const name = 1312;
|
||||
test(name.toString(), () => {
|
||||
expect(timeDeltaToString(name)).toBe("0 secs");
|
||||
});
|
||||
}
|
||||
});
|
||||
}); */
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
/* Modules */
|
||||
"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. */
|
||||
// "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. */
|
||||
|
|
Loading…
Reference in a new issue