Fix failing snapshot test (#1329)

PR #1325 introduced a failing snapshot test, which was promptly caught
by @wchargin. This commit fixes it by running
`./scripts/update_snapshots.sh`. Also, I bumped the project JSON version
number, which also should have happened in #1325.

Test plan: `yarn test --full` passes.
This commit is contained in:
Dandelion Mané 2019-08-26 18:23:11 +02:00 committed by GitHub
parent b4463f2ab7
commit 12a3321ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
[{"type":"sourcecred/project","version":"0.1.0"},{"id":"sourcecred-test/example-github","repoIds":[{"name":"example-github","owner":"sourcecred-test"}]}]
[{"type":"sourcecred/project","version":"0.2.0"},{"discourseServer":null,"id":"sourcecred-test/example-github","repoIds":[{"name":"example-github","owner":"sourcecred-test"}]}]

View File

@ -31,7 +31,7 @@ export type Project = {|
|} | null,
|};
const COMPAT_INFO = {type: "sourcecred/project", version: "0.1.0"};
const COMPAT_INFO = {type: "sourcecred/project", version: "0.2.0"};
export type ProjectJSON = Compatible<Project>;