From 281e4be2b3d2e0263a0a428f774b3c7f31fa53ab Mon Sep 17 00:00:00 2001 From: Rik Smale <13023439+WikiRik@users.noreply.github.com> Date: Wed, 15 Jun 2022 13:39:02 +0000 Subject: [PATCH 1/2] test: add random file in migrations folder --- test/support/assets/migrations/random.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/support/assets/migrations/random.js diff --git a/test/support/assets/migrations/random.js b/test/support/assets/migrations/random.js new file mode 100644 index 000000000..1420e245b --- /dev/null +++ b/test/support/assets/migrations/random.js @@ -0,0 +1,6 @@ +// This is a random file, designed to fail the tests. + +// eslint-disable-next-line no-unused-vars +function sum(a, b) { + return a + b; +} From 9348d1dff1e7ae29315f8ece08a91c293ed651f8 Mon Sep 17 00:00:00 2001 From: Rik Smale <13023439+WikiRik@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:04:36 +0000 Subject: [PATCH 2/2] test: update file to be exporting --- test/support/assets/migrations/random.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/test/support/assets/migrations/random.js b/test/support/assets/migrations/random.js index 1420e245b..da1082920 100644 --- a/test/support/assets/migrations/random.js +++ b/test/support/assets/migrations/random.js @@ -1,6 +1,10 @@ -// This is a random file, designed to fail the tests. +// This is a random file, designed to fail the tests. See #1113 for context -// eslint-disable-next-line no-unused-vars -function sum(a, b) { - return a + b; -} +const TableNames = { + Users: 'Users', + PublicFiles: 'PublicFiles', +}; + +module.exports = { + TableNames, +};