|
@@ -1,14 +1,14 @@
|
|
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
|
|
|
|
-exports[`src/Core > plugins > should not be able to add a plugin that has no id 1`] = `"Your plugin must have an id"`;
|
|
|
+exports[`src/Core > plugins > should not be able to add a plugin that has no id 1`] = `[Error: Your plugin must have an id]`;
|
|
|
|
|
|
-exports[`src/Core > plugins > should not be able to add a plugin that has no type 1`] = `"Your plugin must have a type"`;
|
|
|
+exports[`src/Core > plugins > should not be able to add a plugin that has no type 1`] = `[Error: Your plugin must have a type]`;
|
|
|
|
|
|
-exports[`src/Core > plugins > should not be able to add an invalid plugin 1`] = `"Expected a plugin class, but got object. Please verify that the plugin was imported and spelled correctly."`;
|
|
|
+exports[`src/Core > plugins > should not be able to add an invalid plugin 1`] = `[TypeError: Expected a plugin class, but got object. Please verify that the plugin was imported and spelled correctly.]`;
|
|
|
|
|
|
exports[`src/Core > plugins > should prevent the same plugin from being added more than once 1`] = `
|
|
|
-"Already found a plugin named 'TestSelector1'. Tried to use: 'TestSelector1'.
|
|
|
-Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id."
|
|
|
+[Error: Already found a plugin named 'TestSelector1'. Tried to use: 'TestSelector1'.
|
|
|
+Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.]
|
|
|
`;
|
|
|
|
|
|
exports[`src/Core > uploading a file > should only upload files that are not already assigned to another upload id 1`] = `
|