wen-moon-ser / moonshot-sdk

20 stars 6 forks source link

YOUR_AUTH_TOKEN #11

Closed attacksafe closed 1 month ago

attacksafe commented 1 month ago

C:\Users\hh\Desktop\yye\moon\moonshot-sdk-main\src__tests\token.test.ts:4 describe('Token', () => { ^ ReferenceError: describe is not defined at Object. (C:\Users\hh\Desktop\yye\moon\moonshot-sdk-main\src\tests__\token.test.ts:4:1)

mavagio commented 1 month ago

can you please describe what your issue is in more details, make sure you have installed all the dependencies before running test

attacksafe commented 1 month ago

I want to check the prices. When I run the command I get this error

PS C:\Users\cn\Desktop\tele\moon\moonshot-sdk-main> npx ts-node src/tests/token.test.ts C:\Users\cn\Desktop\tele\moon\moonshot-sdk-main\src__tests\token.test.ts:4 describe('Token', () => { ^ ReferenceError: describe is not defined at Object. (C:\Users\cn\Desktop\tele\moon\moonshot-sdk-main\src\tests__\token.test.ts:4:1) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module.m._compile (C:\Users\cn\AppData\Local\npm-cache_npx\1bf7c3c15bf47d04\node_modules\ts-node\src\index.ts:1618:23) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Object.require.extensions. [as .ts] (C:\Users\cn\AppData\Local\npm-cache_npx\1bf7c3c15bf47d04\node_modules\ts-node\src\index.ts:1621:12) at Module.load (node:internal/modules/cjs/loader:1207:32) at Function.Module._load (node:internal/modules/cjs/loader:1023:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at phase4 (C:\Users\cn\AppData\Local\npm-cache_npx\1bf7c3c15bf47d04\node_modules\ts-node\src\bin.ts:649:14) at bootstrap (C:\Users\cn\AppData\Local\npm-cache_npx\1bf7c3c15bf47d04\node_modules\ts-node\src\bin.ts:95:10) PS C:\Users\cn\Desktop\tele\moon\moonshot-sdk-main>

Please help me, I don't understand programming