diff --git a/packages/redux-devtools-cli/test/integration.spec.ts b/packages/redux-devtools-cli/test/integration.spec.ts index ed2c04c6..c30b4173 100644 --- a/packages/redux-devtools-cli/test/integration.spec.ts +++ b/packages/redux-devtools-cli/test/integration.spec.ts @@ -17,7 +17,7 @@ describe('Server', function () { describe('Express backend', function () { it('loads main page', function () { - return new Promise((done) => { + return new Promise((done) => { // eslint-disable-next-line @typescript-eslint/no-floating-promises request('http://localhost:8000') .get('/') @@ -64,7 +64,7 @@ describe('Server', function () { }); it('should connect', function () { - return new Promise((done) => { + return new Promise((done) => { socket.on('connect', function (status) { expect(status.id).toBeTruthy(); done(); @@ -89,7 +89,7 @@ describe('Server', function () { }); it('should send message', function () { - return new Promise((done) => { + return new Promise((done) => { const data = { type: 'ACTION', payload: { @@ -146,7 +146,7 @@ describe('Server', function () { 'AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36', }; it('should add a report', function () { - return new Promise((done) => { + return new Promise((done) => { // eslint-disable-next-line @typescript-eslint/no-floating-promises request('http://localhost:8000') .post('/') @@ -163,7 +163,7 @@ describe('Server', function () { }); it('should get the report', function () { - return new Promise((done) => { + return new Promise((done) => { // eslint-disable-next-line @typescript-eslint/no-floating-promises request('http://localhost:8000') .post('/') @@ -182,7 +182,7 @@ describe('Server', function () { }); it('should list reports', function () { - return new Promise((done) => { + return new Promise((done) => { // eslint-disable-next-line @typescript-eslint/no-floating-promises request('http://localhost:8000') .post('/') @@ -207,7 +207,7 @@ describe('Server', function () { describe('GraphQL backend', function () { it('should get the report', function () { - return new Promise((done) => { + return new Promise((done) => { // eslint-disable-next-line @typescript-eslint/no-floating-promises request('http://localhost:8000') .post('/graphql') diff --git a/packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx b/packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx index 6e708d70..8e3a5c1d 100644 --- a/packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx +++ b/packages/redux-devtools-inspector-monitor-trace-tab/test/StackTraceTab.spec.tsx @@ -33,14 +33,14 @@ const StackTraceTabAsAny = StackTraceTab as any; describe('StackTraceTab component', () => { it('should render with no props', () => { - return new Promise((done) => { + return new Promise((done) => { const component = mount(); genAsyncSnapshot(component, done); }); }); it('should render with props, but without stack', () => { - return new Promise((done) => { + return new Promise((done) => { const component = mount( ); @@ -49,7 +49,7 @@ describe('StackTraceTab component', () => { }); it('should render the link to docs', () => { - return new Promise((done) => { + return new Promise((done) => { const component = mount( ); @@ -58,7 +58,7 @@ describe('StackTraceTab component', () => { }); it('should render with trace stack', () => { - return new Promise((done) => { + return new Promise((done) => { const component = mount( ); diff --git a/packages/redux-devtools-instrument/test/instrument.spec.ts b/packages/redux-devtools-instrument/test/instrument.spec.ts index b7667f57..935ab43e 100644 --- a/packages/redux-devtools-instrument/test/instrument.spec.ts +++ b/packages/redux-devtools-instrument/test/instrument.spec.ts @@ -1071,7 +1071,7 @@ describe('instrument', () => { }); it('should get stack trace inside setTimeout using a function', () => - new Promise((done) => { + new Promise((done) => { const stack = new Error().stack; setTimeout(() => { const traceFn = () => stack! + new Error().stack!;