diff --git a/package.json b/package.json index ce052912..9473b0c1 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Web JavaScript SDK for Radar, the location platform for mobile apps", "homepage": "https://radar.io", "license": "Apache-2.0", - "version": "1.0.0-beta5", + "version": "1.0.0", "main": "dist/index.js", "module": "src/index.js", "files": [ diff --git a/src/version.js b/src/version.js index 9d5fbce9..3d64381b 100644 --- a/src/version.js +++ b/src/version.js @@ -1 +1 @@ -export default '1.0.0-beta5'; +export default '1.0.0'; diff --git a/test/version.test.js b/test/version.test.js new file mode 100644 index 00000000..004aad6f --- /dev/null +++ b/test/version.test.js @@ -0,0 +1,12 @@ +const chai = require('chai'); + +const { expect } = chai; + +import packageJSON from '../package.json'; +import VERSION from '../src/version'; + +describe('VERSION', () => { + it('should match version in package.json', () => { + expect(VERSION).to.eq(packageJSON.version); + }); +});