Ottomata has submitted this change and it was merged. Change subject: Move package.json to root. ......................................................................
Move package.json to root. Non-standard location of the package.json makes it hard to set up CI, so move it to the root. Bug: T124438 Change-Id: I6919196c67e36e915b124431d1d299fec35e9cc8 --- M .gitignore R package.json A test/mocha.opts 3 files changed, 4 insertions(+), 2 deletions(-) Approvals: Ottomata: Looks good to me, approved jenkins-bot: Verified diff --git a/.gitignore b/.gitignore index 4310533..dbf0821 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -test/node_modules/* \ No newline at end of file +node_modules/* \ No newline at end of file diff --git a/test/package.json b/package.json similarity index 93% rename from test/package.json rename to package.json index 9e51ba9..a4298b4 100644 --- a/test/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Schemas for MediaWiki event streams.", "main": "index.js", "scripts": { - "test": "mocha jsonschema" + "test": "mocha" }, "repository": { "type": "git", diff --git a/test/mocha.opts b/test/mocha.opts new file mode 100644 index 0000000..5a2be76 --- /dev/null +++ b/test/mocha.opts @@ -0,0 +1,2 @@ +--recursive +--no-timeouts -- To view, visit https://gerrit.wikimedia.org/r/284922 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6919196c67e36e915b124431d1d299fec35e9cc8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/event-schemas Gerrit-Branch: master Gerrit-Owner: Ppchelko <ppche...@wikimedia.org> Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org> Gerrit-Reviewer: Ottomata <o...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits