Merge pull request #289 from objectstack-ai/copilot/evaluate-project-… #296
changeset-release.yml
on: push
Changeset Release
1m 39s
Annotations
10 errors
|
Changeset Release
Process completed with exit code 1.
|
|
Changeset Release
@object-ui/core#test: command (/home/runner/work/objectui/objectui/packages/core) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
|
src/registry/__tests__/Registry.test.ts > Registry > getConfig() method > should not fallback when namespace is explicitly provided:
packages/core/src/registry/__tests__/Registry.test.ts#L172
AssertionError: expected { type: 'button', …(2) } to be undefined
- Expected:
undefined
+ Received:
{
"component": [Function component],
"label": "Button",
"type": "button",
}
❯ src/registry/__tests__/Registry.test.ts:172:23
|
|
src/registry/__tests__/Registry.test.ts > Registry > has() method > should fallback to non-namespaced check only when no namespace provided:
packages/core/src/registry/__tests__/Registry.test.ts#L144
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/registry/__tests__/Registry.test.ts:144:44
|
|
src/registry/__tests__/Registry.test.ts > Registry > has() method > should check existence with namespace:
packages/core/src/registry/__tests__/Registry.test.ts#L135
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ src/registry/__tests__/Registry.test.ts:135:47
|
|
src/registry/__tests__/Registry.test.ts > Registry > Namespace Lookup with Fallback > should prefer namespaced component over non-namespaced:
packages/core/src/registry/__tests__/Registry.test.ts#L117
AssertionError: expected [Function component1] to be [Function component2] // Object.is equality
- Expected
+ Received
- [Function component2]
+ [Function component1]
❯ src/registry/__tests__/Registry.test.ts:117:38
|
|
src/registry/__tests__/Registry.test.ts > Registry > Namespace Lookup with Fallback > should not fallback when namespace is explicitly specified:
packages/core/src/registry/__tests__/Registry.test.ts#L103
AssertionError: expected [Function component] to be undefined
- Expected:
undefined
+ Received:
[Function component]
❯ src/registry/__tests__/Registry.test.ts:103:44
|
|
src/registry/__tests__/Registry.test.ts > Registry > Basic Registration > should warn when registering without namespace:
packages/core/src/registry/__tests__/Registry.test.ts#L38
AssertionError: expected "warn" to be called with arguments: [ StringContaining{…} ]
Number of calls: 0
❯ src/registry/__tests__/Registry.test.ts:38:30
|
|
src/registry/__tests__/PluginSystem.test.ts > PluginSystem > should call register function with registry:
packages/core/src/registry/__tests__/PluginSystem.test.ts#L206
AssertionError: expected "vi.fn()" to be called with arguments: [ Registry{ components: Map{} } ]
Received:
1st vi.fn() call:
[
- Registry {
+ PluginScopeImpl {
+ "config": {
+ "allowGlobalEvents": true,
+ "enableEventIsolation": true,
+ "enableStateIsolation": true,
+ "maxStateSize": 5242880,
+ },
+ "eventBus": EventBus {
+ "listeners": Map {},
+ },
+ "name": "test-plugin",
+ "registry": Registry {
"components": Map {},
+ },
+ "state": Map {},
+ "version": "1.0.0",
},
]
Number of calls: 1
❯ src/registry/__tests__/PluginSystem.test.ts:206:24
|
|
src/registry/__tests__/PluginSystem.test.ts > PluginSystem > should load a simple plugin:
packages/core/src/registry/__tests__/PluginSystem.test.ts#L27
TypeError: reg.register is not a function
❯ Object.register src/registry/__tests__/PluginSystem.test.ts:27:13
❯ PluginSystem.loadPlugin src/registry/PluginSystem.ts:64:16
❯ src/registry/__tests__/PluginSystem.test.ts:31:24
|