{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/css-typed-om/typed-om/pulls/8","id":51490967,"html_url":"https://github.com/css-typed-om/typed-om/pull/8","diff_url":"https://github.com/css-typed-om/typed-om/pull/8.diff","patch_url":"https://github.com/css-typed-om/typed-om/pull/8.patch","issue_url":"https://api.github.com/repos/css-typed-om/typed-om/issues/8","number":8,"state":"closed","locked":false,"title":"Add testing & loading configs","user":{"login":"rjwright","id":4714151,"avatar_url":"https://avatars.githubusercontent.com/u/4714151?v=3","gravatar_id":"","url":"https://api.github.com/users/rjwright","html_url":"https://github.com/rjwright","followers_url":"https://api.github.com/users/rjwright/followers","following_url":"https://api.github.com/users/rjwright/following{/other_user}","gists_url":"https://api.github.com/users/rjwright/gists{/gist_id}","starred_url":"https://api.github.com/users/rjwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjwright/subscriptions","organizations_url":"https://api.github.com/users/rjwright/orgs","repos_url":"https://api.github.com/users/rjwright/repos","events_url":"https://api.github.com/users/rjwright/events{/privacy}","received_events_url":"https://api.github.com/users/rjwright/received_events","type":"User","site_admin":false},"body":"Using Mocha and [Chai asserts](http://chaijs.com/api/assert/). Later I might add support for grunt test using Karma.\r\n\r\nYou can run the tests by doing\r\n```\r\nsudo apt-get install node\r\nnpm install -g mocha\r\nnpm install -g chai\r\n```\r\nthen opening typed-om/test/runner.html in a web browser.\r\n\r\nUsers can now use the code by putting\r\n```\r\n<script src='typed-om/typed-om.js'></script>\r\n```\r\nin their HTML code.\r\n\r\nThis PR just contains a very simple example test for now. Will need to add actual tests for NumberValue.","created_at":"2015-11-23T06:22:29Z","updated_at":"2015-11-24T01:26:32Z","closed_at":"2015-11-24T01:26:32Z","merged_at":"2015-11-24T01:26:32Z","merge_commit_sha":"51220bedf1a55c6e3f9dc6b00153603c60e77ae7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/css-typed-om/typed-om/pulls/8/commits","review_comments_url":"https://api.github.com/repos/css-typed-om/typed-om/pulls/8/comments","review_comment_url":"https://api.github.com/repos/css-typed-om/typed-om/pulls/comments{/number}","comments_url":"https://api.github.com/repos/css-typed-om/typed-om/issues/8/comments","statuses_url":"https://api.github.com/repos/css-typed-om/typed-om/statuses/82c61c0c1f1037407ecd805ab52831d7212514ef","head":{"label":"rjwright:Testing","ref":"Testing","sha":"82c61c0c1f1037407ecd805ab52831d7212514ef","user":{"login":"rjwright","id":4714151,"avatar_url":"https://avatars.githubusercontent.com/u/4714151?v=3","gravatar_id":"","url":"https://api.github.com/users/rjwright","html_url":"https://github.com/rjwright","followers_url":"https://api.github.com/users/rjwright/followers","following_url":"https://api.github.com/users/rjwright/following{/other_user}","gists_url":"https://api.github.com/users/rjwright/gists{/gist_id}","starred_url":"https://api.github.com/users/rjwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjwright/subscriptions","organizations_url":"https://api.github.com/users/rjwright/orgs","repos_url":"https://api.github.com/users/rjwright/repos","events_url":"https://api.github.com/users/rjwright/events{/privacy}","received_events_url":"https://api.github.com/users/rjwright/received_events","type":"User","site_admin":false},"repo":{"id":46465746,"name":"typed-om","full_name":"rjwright/typed-om","owner":{"login":"rjwright","id":4714151,"avatar_url":"https://avatars.githubusercontent.com/u/4714151?v=3","gravatar_id":"","url":"https://api.github.com/users/rjwright","html_url":"https://github.com/rjwright","followers_url":"https://api.github.com/users/rjwright/followers","following_url":"https://api.github.com/users/rjwright/following{/other_user}","gists_url":"https://api.github.com/users/rjwright/gists{/gist_id}","starred_url":"https://api.github.com/users/rjwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjwright/subscriptions","organizations_url":"https://api.github.com/users/rjwright/orgs","repos_url":"https://api.github.com/users/rjwright/repos","events_url":"https://api.github.com/users/rjwright/events{/privacy}","received_events_url":"https://api.github.com/users/rjwright/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rjwright/typed-om","description":"Prototype for CSS Typed OM","fork":true,"url":"https://api.github.com/repos/rjwright/typed-om","forks_url":"https://api.github.com/repos/rjwright/typed-om/forks","keys_url":"https://api.github.com/repos/rjwright/typed-om/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rjwright/typed-om/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rjwright/typed-om/teams","hooks_url":"https://api.github.com/repos/rjwright/typed-om/hooks","issue_events_url":"https://api.github.com/repos/rjwright/typed-om/issues/events{/number}","events_url":"https://api.github.com/repos/rjwright/typed-om/events","assignees_url":"https://api.github.com/repos/rjwright/typed-om/assignees{/user}","branches_url":"https://api.github.com/repos/rjwright/typed-om/branches{/branch}","tags_url":"https://api.github.com/repos/rjwright/typed-om/tags","blobs_url":"https://api.github.com/repos/rjwright/typed-om/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rjwright/typed-om/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rjwright/typed-om/git/refs{/sha}","trees_url":"https://api.github.com/repos/rjwright/typed-om/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rjwright/typed-om/statuses/{sha}","languages_url":"https://api.github.com/repos/rjwright/typed-om/languages","stargazers_url":"https://api.github.com/repos/rjwright/typed-om/stargazers","contributors_url":"https://api.github.com/repos/rjwright/typed-om/contributors","subscribers_url":"https://api.github.com/repos/rjwright/typed-om/subscribers","subscription_url":"https://api.github.com/repos/rjwright/typed-om/subscription","commits_url":"https://api.github.com/repos/rjwright/typed-om/commits{/sha}","git_commits_url":"https://api.github.com/repos/rjwright/typed-om/git/commits{/sha}","comments_url":"https://api.github.com/repos/rjwright/typed-om/comments{/number}","issue_comment_url":"https://api.github.com/repos/rjwright/typed-om/issues/comments{/number}","contents_url":"https://api.github.com/repos/rjwright/typed-om/contents/{+path}","compare_url":"https://api.github.com/repos/rjwright/typed-om/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rjwright/typed-om/merges","archive_url":"https://api.github.com/repos/rjwright/typed-om/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rjwright/typed-om/downloads","issues_url":"https://api.github.com/repos/rjwright/typed-om/issues{/number}","pulls_url":"https://api.github.com/repos/rjwright/typed-om/pulls{/number}","milestones_url":"https://api.github.com/repos/rjwright/typed-om/milestones{/number}","notifications_url":"https://api.github.com/repos/rjwright/typed-om/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rjwright/typed-om/labels{/name}","releases_url":"https://api.github.com/repos/rjwright/typed-om/releases{/id}","created_at":"2015-11-19T03:44:54Z","updated_at":"2015-11-19T03:41:29Z","pushed_at":"2015-11-24T01:26:15Z","git_url":"git://github.com/rjwright/typed-om.git","ssh_url":"git@github.com:rjwright/typed-om.git","clone_url":"https://github.com/rjwright/typed-om.git","svn_url":"https://github.com/rjwright/typed-om","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"css-typed-om:master","ref":"master","sha":"b60fdc5654888c3333dcd11a657099b18dc1ba19","user":{"login":"css-typed-om","id":15916862,"avatar_url":"https://avatars.githubusercontent.com/u/15916862?v=3","gravatar_id":"","url":"https://api.github.com/users/css-typed-om","html_url":"https://github.com/css-typed-om","followers_url":"https://api.github.com/users/css-typed-om/followers","following_url":"https://api.github.com/users/css-typed-om/following{/other_user}","gists_url":"https://api.github.com/users/css-typed-om/gists{/gist_id}","starred_url":"https://api.github.com/users/css-typed-om/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/css-typed-om/subscriptions","organizations_url":"https://api.github.com/users/css-typed-om/orgs","repos_url":"https://api.github.com/users/css-typed-om/repos","events_url":"https://api.github.com/users/css-typed-om/events{/privacy}","received_events_url":"https://api.github.com/users/css-typed-om/received_events","type":"Organization","site_admin":false},"repo":{"id":46456802,"name":"typed-om","full_name":"css-typed-om/typed-om","owner":{"login":"css-typed-om","id":15916862,"avatar_url":"https://avatars.githubusercontent.com/u/15916862?v=3","gravatar_id":"","url":"https://api.github.com/users/css-typed-om","html_url":"https://github.com/css-typed-om","followers_url":"https://api.github.com/users/css-typed-om/followers","following_url":"https://api.github.com/users/css-typed-om/following{/other_user}","gists_url":"https://api.github.com/users/css-typed-om/gists{/gist_id}","starred_url":"https://api.github.com/users/css-typed-om/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/css-typed-om/subscriptions","organizations_url":"https://api.github.com/users/css-typed-om/orgs","repos_url":"https://api.github.com/users/css-typed-om/repos","events_url":"https://api.github.com/users/css-typed-om/events{/privacy}","received_events_url":"https://api.github.com/users/css-typed-om/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/css-typed-om/typed-om","description":"Prototype for CSS Typed OM","fork":false,"url":"https://api.github.com/repos/css-typed-om/typed-om","forks_url":"https://api.github.com/repos/css-typed-om/typed-om/forks","keys_url":"https://api.github.com/repos/css-typed-om/typed-om/keys{/key_id}","collaborators_url":"https://api.github.com/repos/css-typed-om/typed-om/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/css-typed-om/typed-om/teams","hooks_url":"https://api.github.com/repos/css-typed-om/typed-om/hooks","issue_events_url":"https://api.github.com/repos/css-typed-om/typed-om/issues/events{/number}","events_url":"https://api.github.com/repos/css-typed-om/typed-om/events","assignees_url":"https://api.github.com/repos/css-typed-om/typed-om/assignees{/user}","branches_url":"https://api.github.com/repos/css-typed-om/typed-om/branches{/branch}","tags_url":"https://api.github.com/repos/css-typed-om/typed-om/tags","blobs_url":"https://api.github.com/repos/css-typed-om/typed-om/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/css-typed-om/typed-om/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/css-typed-om/typed-om/git/refs{/sha}","trees_url":"https://api.github.com/repos/css-typed-om/typed-om/git/trees{/sha}","statuses_url":"https://api.github.com/repos/css-typed-om/typed-om/statuses/{sha}","languages_url":"https://api.github.com/repos/css-typed-om/typed-om/languages","stargazers_url":"https://api.github.com/repos/css-typed-om/typed-om/stargazers","contributors_url":"https://api.github.com/repos/css-typed-om/typed-om/contributors","subscribers_url":"https://api.github.com/repos/css-typed-om/typed-om/subscribers","subscription_url":"https://api.github.com/repos/css-typed-om/typed-om/subscription","commits_url":"https://api.github.com/repos/css-typed-om/typed-om/commits{/sha}","git_commits_url":"https://api.github.com/repos/css-typed-om/typed-om/git/commits{/sha}","comments_url":"https://api.github.com/repos/css-typed-om/typed-om/comments{/number}","issue_comment_url":"https://api.github.com/repos/css-typed-om/typed-om/issues/comments{/number}","contents_url":"https://api.github.com/repos/css-typed-om/typed-om/contents/{+path}","compare_url":"https://api.github.com/repos/css-typed-om/typed-om/compare/{base}...{head}","merges_url":"https://api.github.com/repos/css-typed-om/typed-om/merges","archive_url":"https://api.github.com/repos/css-typed-om/typed-om/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/css-typed-om/typed-om/downloads","issues_url":"https://api.github.com/repos/css-typed-om/typed-om/issues{/number}","pulls_url":"https://api.github.com/repos/css-typed-om/typed-om/pulls{/number}","milestones_url":"https://api.github.com/repos/css-typed-om/typed-om/milestones{/number}","notifications_url":"https://api.github.com/repos/css-typed-om/typed-om/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/css-typed-om/typed-om/labels{/name}","releases_url":"https://api.github.com/repos/css-typed-om/typed-om/releases{/id}","created_at":"2015-11-19T00:34:31Z","updated_at":"2015-11-19T04:08:22Z","pushed_at":"2015-11-24T01:26:32Z","git_url":"git://github.com/css-typed-om/typed-om.git","ssh_url":"git@github.com:css-typed-om/typed-om.git","clone_url":"https://github.com/css-typed-om/typed-om.git","svn_url":"https://github.com/css-typed-om/typed-om","homepage":null,"size":22,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/css-typed-om/typed-om/pulls/8"},"html":{"href":"https://github.com/css-typed-om/typed-om/pull/8"},"issue":{"href":"https://api.github.com/repos/css-typed-om/typed-om/issues/8"},"comments":{"href":"https://api.github.com/repos/css-typed-om/typed-om/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/css-typed-om/typed-om/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/css-typed-om/typed-om/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/css-typed-om/typed-om/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/css-typed-om/typed-om/statuses/82c61c0c1f1037407ecd805ab52831d7212514ef"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rjwright","id":4714151,"avatar_url":"https://avatars.githubusercontent.com/u/4714151?v=3","gravatar_id":"","url":"https://api.github.com/users/rjwright","html_url":"https://github.com/rjwright","followers_url":"https://api.github.com/users/rjwright/followers","following_url":"https://api.github.com/users/rjwright/following{/other_user}","gists_url":"https://api.github.com/users/rjwright/gists{/gist_id}","starred_url":"https://api.github.com/users/rjwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjwright/subscriptions","organizations_url":"https://api.github.com/users/rjwright/orgs","repos_url":"https://api.github.com/users/rjwright/repos","events_url":"https://api.github.com/users/rjwright/events{/privacy}","received_events_url":"https://api.github.com/users/rjwright/received_events","type":"User","site_admin":false},"comments":3,"review_comments":1,"commits":7,"additions":181,"deletions":5,"changed_files":9}}