mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-26 02:51:59 -04:00
10 lines
319 B
TypeScript
10 lines
319 B
TypeScript
import normalizeArch from '@pnpm/plugin-commands-env/lib/normalizeArch'
|
|
|
|
test.each([
|
|
['win32', 'ia32', 'x86'],
|
|
['linux', 'arm', 'armv7l'], // Raspberry Pi 4
|
|
['linux', 'x64', 'x64'],
|
|
])('normalizedArch(%s, %s)', (platform, arch, normalizedArch) => {
|
|
expect(normalizeArch(platform, arch)).toBe(normalizedArch)
|
|
})
|