Skip to content

Commit a592237

Browse files
committed
Update test
1 parent 311c67b commit a592237

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/usdk/test/basic.test.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { mkdirp } from 'mkdirp';
66
import { rimraf } from 'rimraf';
77

88
import React from 'react';
9-
import { createRoot } from 'react-agents';
9+
import { createRoot, Agent } from 'react-agents';
1010
import * as codecs from 'codecs/ws-codec-runtime-fs.mjs';
1111

1212
const registryHash = `f3689d8c6118c97390779a3322ebca8c61a34a2d`;
@@ -106,7 +106,8 @@ test('createRoot', async () => {
106106
codecs,
107107
};
108108
const root = createRoot(state);
109-
root.render(<></>);
109+
const { agents } = await root.render(<Agent />);
110+
console.log('agents', agents);
110111

111112
if (++i >= numPlugins) {
112113
break;

0 commit comments

Comments
 (0)