Open History to see the last commit
1import { describe, expect, it } from "vite-plus/test";
2
3import { revealInFileExplorerLabel } from "./fileExplorerLabel";
4
5describe("revealInFileExplorerLabel", () => {
6 it.each([
7 ["MacIntel", "Reveal in Finder"],
8 ["Win32", "Reveal in File Explorer"],
9 ["Linux x86_64", "Reveal in Files"],
10 ])("maps %s to %s", (platform, expected) => {
11 expect(revealInFileExplorerLabel(platform)).toBe(expected);
12 });
13});