We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c3a880 commit 1496fa0Copy full SHA for 1496fa0
lib/commands/log.ts
@@ -1,5 +1,5 @@
1
import _ from 'lodash';
2
-import { WindowsDriver } from '../driver';
+import type { WindowsDriver } from '../driver';
3
import { LogDefRecord, StringRecord } from '@appium/types';
4
5
const COLOR_CODE_PATTERN = /\u001b\[(\d+(;\d+)*)?m/g; // eslint-disable-line no-control-regex
test/e2e/commands/log-e2e-specs.js
@@ -31,7 +31,7 @@ describe('log', function () {
31
});
32
33
it('should throw an error when an invalid type is given', async function () {
34
- await driver.getLogs('INVALID_LOG_TYPE').should.rejected;
+ await driver.getLogs('INVALID_LOG_TYPE').should.be.rejected;
35
36
37
it('should get server logs', async function () {
0 commit comments