Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions test/command.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ describe("Linux Command Test", () => {
});*/

// lspci | grep -i vga
it("Detect GPUs on this system", function () {
let stdout = execSync(
`MOCHA_ENV=test node ${LOZ_BIN} "Detect GPUs on this system"`,
).toString();
expect(stdout).to.include("VGA compatible controller");
});
if (GITHUB_ACTIONS === false) {
it("Detect GPUs on this system", function () {
let stdout = execSync(
`MOCHA_ENV=test node ${LOZ_BIN} "Detect GPUs on this system"`,
).toString();
expect(stdout).to.include("VGA compatible controller");
});
}

if (GITHUB_ACTIONS === false) {
it("Run find . -type f -exec ls -l {} + | sort -k 5 -nr | head -n 1", function () {
Expand Down
Loading