Przeglądaj źródła

Update error message in test snapshot.

Renée Kooi 7 lat temu
rodzic
commit
8385657e9f
1 zmienionych plików z 2 dodań i 6 usunięć
  1. 2 6
      src/core/__snapshots__/Core.test.js.snap

+ 2 - 6
src/core/__snapshots__/Core.test.js.snap

@@ -7,12 +7,8 @@ exports[`src/Core plugins should not be able to add a plugin that has no type 1`
 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`] = `"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`] = `
 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 is currently limited to running one of every plugin.
-        Share your use case with us over at
-        https://github.com/transloadit/uppy/issues/
-        if you want us to reconsider."
+"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`] = `
 exports[`src/Core uploading a file should only upload files that are not already assigned to another upload id 1`] = `