Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Commit

Permalink
remove reliance on scene state
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed May 18, 2024
1 parent 3f2e796 commit cd1eabd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions e2e/editor/editorScene.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import { EtherealEngineBot } from 'ee-bot/src/bot/bot-class'
import { BotHooks } from 'ee-bot/src/enums/BotHooks'

import { delay } from '@etherealengine/spatial/src/common/functions/delay'
import type { Engine } from '@etherealengine/ecs/src/Engine'
import { EngineState } from '@etherealengine/spatial/src/EngineState'
import { SceneState } from '@etherealengine/engine/src/scene/SceneState'

const domain = process.env.APP_HOST || 'localhost:3000'
const editorUrl = `https://${domain}/editor`
Expand Down Expand Up @@ -37,7 +34,6 @@ describe('Editor Scene Tests', () => {
await bot.awaitHookPromise(BotHooks.SceneLoaded)

const serializedEngine = JSON.parse(await bot.runHook(BotHooks.SerializeEngine)) // as Engine
const engineState = serializedEngine.store.stateMap['engine'] as any as typeof SceneState._TYPE
assert.equal(serializedEngine.isEditor, true)
// assert.equal(engineState.sceneLoaded, true)
})
Expand Down
2 changes: 0 additions & 2 deletions e2e/editor/xrui.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { EtherealEngineBot } from 'ee-bot/src/bot/bot-class'
import { BotHooks } from 'ee-bot/src/enums/BotHooks'

import { delay } from '@etherealengine/spatial/src/common/functions/delay'
import { SceneState } from '@etherealengine/engine/src/scene/SceneState'

const domain = process.env.APP_HOST || 'localhost:3000'
const editorUrl = `https://${domain}/studio`
Expand Down Expand Up @@ -36,7 +35,6 @@ describe('Editor Scene Tests', () => {
await bot.awaitHookPromise(BotHooks.SceneLoaded)

const serializedEngine = JSON.parse(await bot.runHook(BotHooks.SerializeEngine)) // as Engine
const engineState = serializedEngine.store.stateMap['engine'] as any as typeof SceneState._TYPE
assert.equal(serializedEngine.isEditor, true)
// assert.equal(engineState.sceneLoaded, true)
})
Expand Down

0 comments on commit cd1eabd

Please sign in to comment.