Commit 024e7176 authored by Tristan Read's avatar Tristan Read

Run prettier command suggested by dangerbot

parent 73638455
...@@ -34,7 +34,7 @@ export const invalidProjectLabel = (state) => { ...@@ -34,7 +34,7 @@ export const invalidProjectLabel = (state) => {
export const projectSelectionLabel = (state) => { export const projectSelectionLabel = (state) => {
if (state.token) { if (state.token) {
return s__( return s__(
"ErrorTracking|Click Connect to reestablish the connection to Sentry and activate the dropdown.", 'ErrorTracking|Click Connect to reestablish the connection to Sentry and activate the dropdown.',
); );
} }
return s__('ErrorTracking|To enable project selection, enter a valid Auth Token.'); return s__('ErrorTracking|To enable project selection, enter a valid Auth Token.');
......
...@@ -47,7 +47,7 @@ describe('error tracking settings form', () => { ...@@ -47,7 +47,7 @@ describe('error tracking settings form', () => {
"If you self-host Sentry, enter your Sentry instance's full URL. If you use Sentry's hosted solution, enter https://sentry.io", "If you self-host Sentry, enter your Sentry instance's full URL. If you use Sentry's hosted solution, enter https://sentry.io",
); );
expect(pageText).toContain( expect(pageText).toContain(
"After adding your Auth Token, select the Connect button to load projects.", 'After adding your Auth Token, select the Connect button to load projects.',
); );
expect(pageText).not.toContain('Connection failed. Check Auth Token and try again.'); expect(pageText).not.toContain('Connection failed. Check Auth Token and try again.');
...@@ -80,9 +80,7 @@ describe('error tracking settings form', () => { ...@@ -80,9 +80,7 @@ describe('error tracking settings form', () => {
}); });
it('does not show an error', () => { it('does not show an error', () => {
expect(wrapper.text()).not.toContain( expect(wrapper.text()).not.toContain('Connection failed. Check Auth Token and try again.');
'Connection failed. Check Auth Token and try again.',
);
}); });
}); });
......
...@@ -86,7 +86,7 @@ describe('Error Tracking Settings - Getters', () => { ...@@ -86,7 +86,7 @@ describe('Error Tracking Settings - Getters', () => {
state.token = 'test-token'; state.token = 'test-token';
expect(getters.projectSelectionLabel(state)).toEqual( expect(getters.projectSelectionLabel(state)).toEqual(
"Click Connect to reestablish the connection to Sentry and activate the dropdown.", 'Click Connect to reestablish the connection to Sentry and activate the dropdown.',
); );
}); });
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment