16848: Renames 'current token dialog' code to 'token dialog'.
[arvados-workbench2.git] / src / views-components / token-dialog / token-dialog.test.tsx
similarity index 89%
rename from src/views-components/current-token-dialog/current-token-dialog.test.tsx
rename to src/views-components/token-dialog/token-dialog.test.tsx
index eb405e94a0ed6f7bf140f7afe0de4f6179eef0ee..e8df29b8cb4376c7c0b63c764c7a5f1434e7d8d4 100644 (file)
@@ -7,7 +7,7 @@ import { Button } from '@material-ui/core';
 import { mount, configure } from 'enzyme';
 import * as Adapter from 'enzyme-adapter-react-16';
 import * as CopyToClipboard from 'react-copy-to-clipboard';
-import { CurrentTokenDialogComponent } from './current-token-dialog';
+import { TokenDialogComponent } from './token-dialog';
 
 configure({ adapter: new Adapter() });
 
@@ -30,7 +30,7 @@ describe('<CurrentTokenDialog />', () => {
 
   describe('copy to clipboard', () => {
     beforeEach(() => {
-      wrapper = mount(<CurrentTokenDialogComponent {...props} />);
+      wrapper = mount(<TokenDialogComponent {...props} />);
     });
 
     it('should copy API TOKEN to the clipboard', () => {