From 2b1037a82eeae0a6daf0ca659fd3a9c7087764e2 Mon Sep 17 00:00:00 2001 From: "Pimm \"de Chinchilla\" Hogeling" Date: Mon, 18 Jun 2018 11:31:48 +0200 Subject: [PATCH] test: fix a test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The error ‒ and therefore the snapshot ‒ contains the line number of the validateOptions call. That line moves, so the snapshot is now updated. --- test/__snapshots__/Errors.test.js.snap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/__snapshots__/Errors.test.js.snap b/test/__snapshots__/Errors.test.js.snap index a267639..bbd161c 100644 --- a/test/__snapshots__/Errors.test.js.snap +++ b/test/__snapshots__/Errors.test.js.snap @@ -11,5 +11,5 @@ exports[`Errors Validation Error 1`] = ` options.limit should be string,number at validate (/node_modules/@webpack-contrib/schema-utils/dist/validate-options.js:87:15) at validator (/node_modules/@webpack-contrib/schema-utils/dist/validate-options.js:118:10) - at Object.loader (/src/index.js:19:3)" + at Object.loader (/src/index.js:20:3)" `;