Skip to content

Commit

Permalink
chore: fix Bulles version number to 3.0.0
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Releasing Bulles !
  • Loading branch information
JalilArfaoui committed Oct 11, 2019
1 parent 6e1fc1c commit e8fa6bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/app/lmem/isBulleVersionNumber.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { gte } from 'semver';
import { version } from '../../../package.json';

// @todo create a constant with the first version number of Bulle
export default (v: string) => gte(v, version);
export const FIRST_BULLES_VERSION = '3.0.0';

export default (v: string) => gte(v, FIRST_BULLES_VERSION);
5 changes: 2 additions & 3 deletions test/app/background/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import chai from 'chai';
import reducer from 'app/background/reducers';
import { updateInstallationDetails } from 'app/actions/install';
import { isAnUpdateFromLmem } from 'app/background/selectors';
import { version } from '../../../package.json';

const expect = chai.expect;

Expand All @@ -11,7 +10,7 @@ describe('background selectors', function() {
it("can tell if it's not an update from LMEM", () => {
const action = updateInstallationDetails({
reason: 'install',
version
version: '3.0.0'
});
const nextState = reducer(undefined, action);

Expand All @@ -22,7 +21,7 @@ describe('background selectors', function() {
const action = updateInstallationDetails({
reason: 'update',
previousVersion: '0.1.0',
version
version: '3.0.0'
});
const nextState = reducer(undefined, action);

Expand Down

0 comments on commit e8fa6bb

Please sign in to comment.