Skip to content

Commit

Permalink
No need to async
Browse files Browse the repository at this point in the history
  • Loading branch information
keeramis committed May 14, 2024
1 parent 66c70d7 commit c585f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/usb.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('USB Commands', () => {


describe('_formatNetworkIfaceOutput', () => {
it('formats the interface information to imitate linux `ifconfig` command', async () => {
it('formats the interface information to imitate linux `ifconfig` command', () => {
const nwInfo = [
{
'index': 5,
Expand Down Expand Up @@ -104,7 +104,7 @@ describe('USB Commands', () => {
access_token: '1234'
},
});
const res = await usbCommands._formatNetworkIfaceOutput(nwInfo, 'p2', '0123456789abcdef');
const res = usbCommands._formatNetworkIfaceOutput(nwInfo, 'p2', '0123456789abcdef');

expect(res).to.eql(expectedOutput);
});
Expand Down

0 comments on commit c585f60

Please sign in to comment.