13 lines
512 B
JavaScript
13 lines
512 B
JavaScript
import { readFileSync } from "node:fs";
|
|
import { join } from "node:path";
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
const root = process.cwd();
|
|
const vehiclesTableSource = readFileSync(join(root, "src/components/displays/user/vehicles/vehiclesTable.vue"), "utf8");
|
|
|
|
describe("user vehicles actions visibility contract", () => {
|
|
it("renders vehicle row actions directly so they are fully visible on the page", () => {
|
|
expect(vehiclesTableSource).toContain(':displayActionsDirectly="true"');
|
|
});
|
|
});
|