Skip to content

Commit

Permalink
patch: setup wdio and port most tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aethernet committed Apr 24, 2024
1 parent b132352 commit 3d1200e
Show file tree
Hide file tree
Showing 16 changed files with 46,591 additions and 39,181 deletions.
2 changes: 1 addition & 1 deletion lib/gui/app/models/selection-state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { DrivelistDrive } from '../../../shared/drive-constraints';
* limitations under the License.
*/

import { SourceMetadata } from '../components/source-selector/source-selector';
import { SourceMetadata } from '../../../shared/typings/source-selector';

import * as availableDrives from './available-drives';
import { Actions, store } from './store';
Expand Down
2 changes: 1 addition & 1 deletion lib/gui/app/modules/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const initAnalytics = _.once(() => {

const getCircularReplacer = () => {
const seen = new WeakSet();
return (key: any, value: any) => {
return (_key: any, value: any) => {
if (typeof value === 'object' && value !== null) {
if (seen.has(value)) {
return;
Expand Down
2 changes: 2 additions & 0 deletions lib/gui/app/modules/progress-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export function fromFlashState({
status: string;
position?: string;
} {
console.log(i18next.t('progress.starting'));

if (type === undefined) {
return { status: i18next.t('progress.starting') };
} else if (type === 'decompressing') {
Expand Down
2 changes: 1 addition & 1 deletion lib/shared/sudo/windows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export async function sudo(
name: string,
env: any,
): Promise<{ cancelled: boolean; stdout?: string; stderr?: string }> {
// console.log('name', name);
console.log('name', name);

const uuid = uuidv4();

Expand Down
Loading

0 comments on commit 3d1200e

Please sign in to comment.