Skip to content

Commit

Permalink
fix Tommy gun test
Browse files Browse the repository at this point in the history
  • Loading branch information
mbutler committed Jun 29, 2024
1 parent e4f6e37 commit 7176589
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/phoenix-functions.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions test/functions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ describe('Weapons Test', () => {
expect(weapons['M2HB']['Name']).to.equal('M2HB')
})
it('Thompson M1928A1', () => {
expect(weapons['Thompson M1928A1']['10']['FMJ']['PEN']).to.equal(40)
expect(weapons['Thompson M1928A1']['Aim Time']['4']).to.equal(-17)
expect(weapons['Thompson M1928A1']['Name']).to.equal('M2HB')
expect(weapons['Thompson M1928A1']['10']['FMJ']['PEN']).to.equal(1.7)
expect(weapons['Thompson M1928A1']['Aim Time']['4']).to.equal(-8)
expect(weapons['Thompson M1928A1']['Name']).to.equal('Thompson M1928A1')
})
it('tests getting weapon ammo types', () => {
expect(getAmmoTypes('AKM 47')).to.include.members(['FMJ', 'AP', 'JHP'])
Expand Down

0 comments on commit 7176589

Please sign in to comment.