Sha256: 269c8efa250b3b2b1fed6aedd4c50d7f8c10eef26915c9f165b3e6f08c590037
Contents?: true
Size: 379 Bytes
Versions: 168
Compression:
Stored size: 379 Bytes
Contents
import { getArchFromPath } from '../helpers.js'; describe('getArchFromPath', () => { it('should return arch from path', () => { const arch = getArchFromPath('/this/has/x86_64/as/arch'); expect(arch).toBe('x86_64'); }); it('should return falsey value for no arch', () => { const arch = getArchFromPath('/hello/there/'); expect(arch).toBeFalsy(); }); });
Version data entries
168 entries across 168 versions & 1 rubygems