{"action":"created","issue":{"url":"https://api.github.com/repos/hustcc/jest-date-mock/issues/18","repository_url":"https://api.github.com/repos/hustcc/jest-date-mock","labels_url":"https://api.github.com/repos/hustcc/jest-date-mock/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/hustcc/jest-date-mock/issues/18/comments","events_url":"https://api.github.com/repos/hustcc/jest-date-mock/issues/18/events","html_url":"https://github.com/hustcc/jest-date-mock/issues/18","id":394789058,"node_id":"MDU6SXNzdWUzOTQ3ODkwNTg=","number":18,"title":"It works without setupFiles config","user":{"login":"klis87","id":11601850,"node_id":"MDQ6VXNlcjExNjAxODUw","avatar_url":"https://avatars2.githubusercontent.com/u/11601850?v=4","gravatar_id":"","url":"https://api.github.com/users/klis87","html_url":"https://github.com/klis87","followers_url":"https://api.github.com/users/klis87/followers","following_url":"https://api.github.com/users/klis87/following{/other_user}","gists_url":"https://api.github.com/users/klis87/gists{/gist_id}","starred_url":"https://api.github.com/users/klis87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klis87/subscriptions","organizations_url":"https://api.github.com/users/klis87/orgs","repos_url":"https://api.github.com/users/klis87/repos","events_url":"https://api.github.com/users/klis87/events{/privacy}","received_events_url":"https://api.github.com/users/klis87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-29T11:49:45Z","updated_at":"2018-12-31T12:06:58Z","closed_at":null,"author_association":"NONE","body":"For some reason it works without putting\r\n```js\r\n{\r\n  \"jest\": {\r\n    \"setupFiles\": [\"jest-date-mock\"]\r\n  }\r\n}\r\n```\r\nin the config. \r\n\r\nIs it intended? For me `import { advanceBy, advanceTo, clear } from 'jest-date-mock'` is all I need in my tests."},"comment":{"url":"https://api.github.com/repos/hustcc/jest-date-mock/issues/comments/450638622","html_url":"https://github.com/hustcc/jest-date-mock/issues/18#issuecomment-450638622","issue_url":"https://api.github.com/repos/hustcc/jest-date-mock/issues/18","id":450638622,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDYzODYyMg==","user":{"login":"hustcc","id":7856674,"node_id":"MDQ6VXNlcjc4NTY2NzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7856674?v=4","gravatar_id":"","url":"https://api.github.com/users/hustcc","html_url":"https://github.com/hustcc","followers_url":"https://api.github.com/users/hustcc/followers","following_url":"https://api.github.com/users/hustcc/following{/other_user}","gists_url":"https://api.github.com/users/hustcc/gists{/gist_id}","starred_url":"https://api.github.com/users/hustcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hustcc/subscriptions","organizations_url":"https://api.github.com/users/hustcc/orgs","repos_url":"https://api.github.com/users/hustcc/repos","events_url":"https://api.github.com/users/hustcc/events{/privacy}","received_events_url":"https://api.github.com/users/hustcc/received_events","type":"User","site_admin":false},"created_at":"2018-12-31T12:06:58Z","updated_at":"2018-12-31T12:06:58Z","author_association":"OWNER","body":"set in config, is not means global var.\n\nyou can understand the JavaScript module loading mechanism firstly."}}
{"actor":{"display_login":"hustcc"}}