Skip to content

Commit

Permalink
Ensure tests run pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed May 22, 2024
1 parent 899b331 commit 0746e91
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions tests/metadata.test.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { describe, expect, test } from 'vitest'
import { createResults } from '../electron/renderer/src/stories/pages/guided-mode/data/utils'
import { mapSessions } from '../electron/renderer/src/stories/pages/utils'
import { createResults } from '../src/electron/renderer/src/stories/pages/guided-mode/data/utils'
import { mapSessions } from '../src/electron/renderer/src/stories/pages/utils'

import baseMetadataSchema from '../src/schemas/base-metadata.schema'

import { createMockGlobalState } from './utils'

import { Validator } from 'jsonschema'
import { tempPropertyKey, textToArray } from '../electron/renderer/src/stories/forms/utils'
import { updateResultsFromSubjects } from '../electron/renderer/src/stories/pages/guided-mode/setup/utils'
import { JSONSchemaForm } from '../electron/renderer/src/stories/JSONSchemaForm'
import { tempPropertyKey, textToArray } from '../src/electron/renderer/src/stories/forms/utils'
import { updateResultsFromSubjects } from '../src/electron/renderer/src/stories/pages/guided-mode/setup/utils'
import { JSONSchemaForm } from '../src/electron/renderer/src/stories/JSONSchemaForm'

import { validateOnChange } from "../electron/renderer/src/validation/index.js";
import { SimpleTable } from '../electron/renderer/src/stories/SimpleTable'
import { JSONSchemaInput } from '../electron/renderer/src/stories/JSONSchemaInput.js'
import { validateOnChange } from "../src/electron/renderer/src/validation/index.js";
import { SimpleTable } from '../src/electron/renderer/src/stories/SimpleTable'
import { JSONSchemaInput } from '../src/electron/renderer/src/stories/JSONSchemaInput.js'

function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
Expand Down
6 changes: 3 additions & 3 deletions tests/progress.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from 'vitest'
import { updateAppProgress, updateFile, rename } from '../electron/renderer/src/progress/update'
import { get } from '../electron/renderer/src/progress'
import { remove } from '../electron/renderer/src/progress/operations'
import { updateAppProgress, updateFile, rename } from '../src/electron/renderer/src/progress/update'
import { get } from '../src/electron/renderer/src/progress'
import { remove } from '../src/electron/renderer/src/progress/operations'

test('updates to app progress do not fail', () => updateAppProgress('/', {}))

Expand Down

0 comments on commit 0746e91

Please sign in to comment.