Skip to content

Commit

Permalink
Fix some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Oct 31, 2023
1 parent ec533be commit ec7258d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/DebugConfigurationProvider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { WorkspaceFolder } from 'vscode';
import { QuickPickItemKind } from 'vscode';
import Uri from 'vscode-uri';
import type { BrightScriptLaunchConfiguration } from './DebugConfigurationProvider';
import { manualHostItemId } from './DebugConfigurationProvider';
import { BrightScriptDebugConfigurationProvider } from './DebugConfigurationProvider';
import { vscode } from './mockVscode.spec';
import { standardizePath as s } from 'brighterscript';
Expand Down Expand Up @@ -370,7 +371,7 @@ describe('BrightScriptConfigurationProvider', () => {
).to.eql([{
label: 'Enter manually',
device: {
id: Number.MAX_SAFE_INTEGER
id: manualHostItemId
}
}]);
});
Expand All @@ -393,7 +394,7 @@ describe('BrightScriptConfigurationProvider', () => {
}, {
label: 'Enter manually',
device: {
id: Number.MAX_SAFE_INTEGER
id: manualHostItemId
}
}]
);
Expand Down
2 changes: 1 addition & 1 deletion src/DebugConfigurationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { debounce } from 'debounce';
/**
* An id to represent the "Enter manually" option in the host picker
*/
const manualHostItemId = `${Number.MAX_SAFE_INTEGER}`;
export const manualHostItemId = `${Number.MAX_SAFE_INTEGER}`;
const manualLabel = 'Enter manually';

export class BrightScriptDebugConfigurationProvider implements DebugConfigurationProvider {
Expand Down

0 comments on commit ec7258d

Please sign in to comment.