[Add] Synaptic AI Pro
https://assetstore.unity.com/packages/tools/generative-ai/synaptic-ai-pro-natural-language-control-for-unity-336030
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
'use strict';
|
||||
|
||||
var test = require('tape');
|
||||
var gOPD = require('../');
|
||||
|
||||
test('gOPD', function (t) {
|
||||
t.test('supported', { skip: !gOPD }, function (st) {
|
||||
st.equal(typeof gOPD, 'function', 'is a function');
|
||||
|
||||
var obj = { x: 1 };
|
||||
st.ok('x' in obj, 'property exists');
|
||||
|
||||
// @ts-expect-error TS can't figure out narrowing from `skip`
|
||||
var desc = gOPD(obj, 'x');
|
||||
st.deepEqual(
|
||||
desc,
|
||||
{
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
value: 1,
|
||||
writable: true
|
||||
},
|
||||
'descriptor is as expected'
|
||||
);
|
||||
|
||||
st.end();
|
||||
});
|
||||
|
||||
t.test('not supported', { skip: !!gOPD }, function (st) {
|
||||
st.notOk(gOPD, 'is falsy');
|
||||
|
||||
st.end();
|
||||
});
|
||||
|
||||
t.end();
|
||||
});
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ab45e4344897f4c2eb4871b4f3785ab9
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 336030
|
||||
packageName: Synaptic AI Pro - Natural Language Control for Unity
|
||||
packageVersion: 1.2.23
|
||||
assetPath: Assets/Synaptic AI Pro/MCPServer/node_modules/gopd/test/index.js
|
||||
uploadId: 920982
|
||||
Reference in New Issue
Block a user