# test.deploy/core/probes/system.probe.test.ts

> 17 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-deploy-core-probes-system-probe-test-ts
Source text: https://banes-lab.com/source/testing/test.deploy/core/probes/system.probe.test.ts.txt

Listed in [test.deploy/core/probes](https://banes-lab.com/api/source/testing/test.deploy/core/probes.md), before [test.deploy/core/probes/vcs.probe.test.ts](https://banes-lab.com/source/testing/test.deploy/core/probes/vcs.probe.test.ts.md).

## Contained in

- [test.deploy/core/probes](https://banes-lab.com/anatomy/testing/folder-testing-test-deploy-core-probes.md)

## Source

```typescript
import {
    CPU_LABEL,
    MEMORY_LABEL,
    NODE_LABEL,
    OS_LABEL,
    UPTIME_LABEL,
} from "@banes-lab/deploy/configuration/strings/notification.strings.ts";
import { describe, expect, it } from "vitest";
import { describeSystem } from "@banes-lab/deploy/core/probes/system.probe.ts";

describe("describeSystem", () => {
    it.each([OS_LABEL, NODE_LABEL, CPU_LABEL, MEMORY_LABEL, UPTIME_LABEL])("reports the %s entry", (label) => {
        expect(describeSystem()).toContain(label);
    });

    it("reports the running node version", () => {
        expect(describeSystem()).toContain(process.version);
    });
});
```
