Skip to content

Instantly share code, notes, and snippets.

View xMohamd's full-sized avatar

Mohamed xMohamd

  • Egypt
  • 03:55 (UTC +03:00)
View GitHub Profile
@xMohamd
xMohamd / nodeTest.txt
Created February 14, 2024 20:16
nodeTest
@xMohamd ➜ /workspaces/astro-language-tools/packages/language-server (language-server/all) $ pnpm run test:node > nodeTest.txt
> @astrojs/language-server@2.7.2 test:node /workspaces/astro-language-tools/packages/language-server
> node --import tsx --test test/**/*.test.ts
TAP version 13
# /workspaces/astro-language-tools/packages/language-server/test/check/check.test.ts:5
# import { AstroCheck, CheckResult } from '../../dist/check.js';
# ^
# SyntaxError: The requested module '../../dist/check.js' does not provide an export named 'AstroCheck'
@xMohamd
xMohamd / defaultTest.txt
Created February 14, 2024 20:13
defaultTest
@xMohamd ➜ /workspaces/astro-language-tools/packages/language-server (main) $ pnpm run test > defaultTest.txt
> @astrojs/language-server@2.7.2 test /workspaces/astro-language-tools/packages/language-server
> mocha --timeout 10000 --require tsx --require test/takedown.ts test/misc/init.test.ts test/**/*.test.ts
Initialize
✔ Can start server
✔ Has proper capabilities
> @astrojs/node@8.2.0 test /workspaces/astro/packages/integrations/node
> astro-scripts test --timeout 400000 "test/**/*.test.js"
▶ API routes
✔ Can get the request body (143.290911ms)
✔ Can get binary data (17.459249ms)
✔ Can post large binary data (1733.319124ms)
✔ Can bail on streaming (506.951931ms)
▶ API routes (7304.358251ms)
> @astrojs/node@8.2.0 test /workspaces/astro/packages/integrations/node
> astro-scripts test "test/**/*.test.js"
▶ API routes
✔ Can get the request body (166.425381ms)
✔ Can get binary data (41.760819ms)
✔ Can post large binary data (3068.179355ms)
✔ Can bail on streaming (527.427689ms)
▶ API routes (11154.261363ms)

Keybase proof

I hereby claim:

  • I am MOHAMEDS12 on github.
  • I am fz98 (https://keybase.io/fz98) on keybase.
  • I have a public key whose fingerprint is 5ECE 7760 BD92 18EF 4214 EF1D 4A77 5732 A2C8 CEA9

To claim this, I am signing this object: