getVersion
Returns the current version.
Type
static getVersion: () => string
Return Value
The current version
Example
import { Computer } from '@bitcoin-computer/lib'
import { expect } from '../../utils/index.js'
describe('getVersion', () => {
it('Should return the version', async () => {
expect(typeof Computer.getVersion()).eq('string')
})
})