fix sharness/test_build_static_site.t

This fixes a build error in test_build_static_site.t.
It's been masked by a lot of ENOMEM issues I've been having in the full
build, so a few failures had actually had a chance to accrue:

- Fixes an issue wherein loading the sourcecred/example-git repo would
error (on failure to normalize scores, because there was no user
activity). Fixed it pretty crudely by adding an issue to that
repository.

- Fixes an issue where a deprecation warning caused the
build_static_site build to fail. We now permit that particular warning.

- Updates the example load snapshot.

Test plan: `yarn test --full` passes once again.
This commit is contained in:
Dandelion Mané 2019-07-11 19:06:46 +01:00
parent ff026817d0
commit 4ba9fe3a8c
2 changed files with 2 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -134,6 +134,7 @@ run_build() {
test_must_fail grep -vF \
-e "Removing contents of build directory: " \
-e "info: loading repository" \
-e "DeprecationWarning: Tapable.plugin is deprecated." \
err &&
test_path_is_dir "${output_dir}" &&
test_path_is_dir "${api_dir}" &&