Skip to content

Commit

Permalink
Update to use master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
wooferzfg committed Apr 9, 2024
1 parent 7f94daf commit 1efc3b3
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion scripts/verify-logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const verifyLogicForSettings = async (permalink) => {
};

const script = async () => {
await verifyLogicForSettings('MS4xMS4wAEEASRBQGQAA+wLoAgAAAAAAAAAAAAI='); // no starting items
await verifyLogicForSettings('bWFzdGVyAEEASRBQGQAA+wLoAgAAAAAAAAAAAAI='); // no starting items
await verifyLogicForSettings(Permalink.DEFAULT_PERMALINK);
};

Expand Down
2 changes: 1 addition & 1 deletion src/data/test-save-data.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/services/__snapshots__/permalink.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ exports[`Permalink DEFAULT_PERMALINK returns the default options 1`] = `
"swift_sail": true,
"sword_mode": "Start with Hero's Sword",
"trap_chests": false,
"version": "1.11.0",
"version": "master",
}
`;

Expand Down Expand Up @@ -323,7 +323,7 @@ exports[`Permalink decode decodes a permalink 1`] = `
"remove_music": false,
"required_bosses": true,
"reveal_full_sea_chart": true,
"seed_name": "yeet",
"seed_name": "seed",
"skip_rematch_bosses": true,
"starting_gear": {
"Bait Bag": 0,
Expand Down Expand Up @@ -391,6 +391,6 @@ exports[`Permalink decode decodes a permalink 1`] = `
"swift_sail": true,
"sword_mode": "No Starting Sword",
"trap_chests": false,
"version": "1.11.0",
"version": "master",
}
`;
2 changes: 1 addition & 1 deletion src/services/__snapshots__/settings.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ exports[`Settings initializeFromPermalink default settings initializes the optio
"swift_sail": true,
"sword_mode": "Start with Hero's Sword",
"trap_chests": false,
"version": "1.11.0",
"version": "master",
}
`;

Expand Down
6 changes: 3 additions & 3 deletions src/services/__snapshots__/tracker-controller.test.js.snap

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/services/permalink.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Permalink {
[this.OPTIONS.SWORD_MODE]: SWORD_MODE_OPTIONS,
};

static DEFAULT_PERMALINK = 'MS4xMS4wAEEASRBQGAAA+wLoEgAAAAAIAAQBAAI=';
static DEFAULT_PERMALINK = 'bWFzdGVyAEEASRBQGAAA+wLoEgAAAAAIAAQBAAI=';

static decode(permalinkString) {
const binaryString = BinaryString.fromBase64(permalinkString);
Expand Down
4 changes: 2 additions & 2 deletions src/services/permalink.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Permalink', () => {

describe('decode', () => {
test('decodes a permalink', () => {
const options = Permalink.decode('MS4xMS4wAHllZXQASRBQHcBG+wLoggEAAAAAAALAJAI=');
const options = Permalink.decode('bWFzdGVyAHNlZWQASRBQHcBG+wLoggEAAAAAAALAJAI=');

expect(options).toMatchSnapshot();
});
Expand All @@ -59,7 +59,7 @@ describe('Permalink', () => {
let permalink;

beforeEach(() => {
permalink = 'MS4xMS4wAHllZXQASRBQHcBG+wLoggEAAAAAAALAJAI=';
permalink = 'bWFzdGVyAHNlZWQASRBQHcBG+wLoggEAAAAAAALAJAI=';
options = Permalink.decode(permalink);
});

Expand Down
10 changes: 5 additions & 5 deletions src/services/settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Settings', () => {
});

test('initializes the version', () => {
expect(Settings.version).toEqual('1.11.0');
expect(Settings.version).toEqual('master'); // TODO: change to 1.11.0
});

test('initializes the starting gear', () => {
Expand Down Expand Up @@ -67,7 +67,7 @@ describe('Settings', () => {

describe('all flags set', () => {
beforeEach(() => {
Settings.initializeFromPermalink('MS4xMS4wAHllZXQA//9/GAAA+wLoEgAAAAAIAAQBAAI=');
Settings.initializeFromPermalink('bWFzdGVyAHNlZWQA//9/GAAA+wLoEgAAAAAIAAQBAAI=');
});

test('initializes all the flags', () => {
Expand All @@ -78,7 +78,7 @@ describe('Settings', () => {

describe('all starting gear set', () => {
beforeEach(() => {
Settings.initializeFromPermalink('MS4xMS4wAHllZXQASRBQGAAA+wLo+v//////v6suAAI=');
Settings.initializeFromPermalink('bWFzdGVyAHNlZWQASRBQGAAA+wLo+v//////v6suAAI=');
});

test('initializes the starting gear', () => {
Expand All @@ -89,7 +89,7 @@ describe('Settings', () => {
describe('only sunken triforce enabled', () => {
describe('when charts are not randomized', () => {
beforeEach(() => {
Settings.initializeFromPermalink('MS4xMS4wAHllZXQAAAAEGAAA+wLoEgAAAAAIAAQBAAI=');
Settings.initializeFromPermalink('bWFzdGVyAHNlZWQAAAAEGAAA+wLoEgAAAAAIAAQBAAI=');
});

test('initializes the flags', () => {
Expand All @@ -101,7 +101,7 @@ describe('Settings', () => {

describe('when charts are randomized', () => {
beforeEach(() => {
Settings.initializeFromPermalink('MS4xMS4wAHllZXQAAAAEGACA+wLoEgAAAAAIAAQBAAI=');
Settings.initializeFromPermalink('bWFzdGVyAHNlZWQAAAAEGACA+wLoEgAAAAAIAAQBAAI=');
});

test('initializes the flags', () => {
Expand Down

0 comments on commit 1efc3b3

Please sign in to comment.