mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-03 15:34:25 +00:00
Start typing Jest tests
This commit is contained in:
parent
614d5f0ca0
commit
1780b33fe5
3 changed files with 6 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ import {
|
|||
getFileExtension
|
||||
} from "./utils";
|
||||
|
||||
const fixture = filename =>
|
||||
const fixture = (filename: string) =>
|
||||
fs.readFileSync(`./js/__tests__/fixtures/${filename}`, "utf8");
|
||||
|
||||
describe("getTimeObj", () => {
|
||||
|
|
@ -60,6 +60,7 @@
|
|||
"@babel/runtime": "^7.0.0",
|
||||
"@types/classnames": "^2.2.6",
|
||||
"@types/invariant": "^2.2.29",
|
||||
"@types/jest": "^23.3.2",
|
||||
"@types/react": "^16.4.14",
|
||||
"@types/react-dom": "^16.0.7",
|
||||
"@types/react-redux": "^6.0.8",
|
||||
|
|
|
|||
|
|
@ -729,6 +729,10 @@
|
|||
version "2.2.29"
|
||||
resolved "https://registry.yarnpkg.com/@types/invariant/-/invariant-2.2.29.tgz#aa845204cd0a289f65d47e0de63a6a815e30cc66"
|
||||
|
||||
"@types/jest@^23.3.2":
|
||||
version "23.3.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-23.3.2.tgz#07b90f6adf75d42c34230c026a2529e56c249dbb"
|
||||
|
||||
"@types/node@*":
|
||||
version "10.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-10.1.0.tgz#2783ee1b6c47cbd4044f4a233976c1ac5fa9e942"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue