Skip to content

Commit

Permalink
Merge pull request #250 from MozillaReality/media-frames-test-fixes
Browse files Browse the repository at this point in the history
Fix media frame tests
  • Loading branch information
keianhzo authored Dec 1, 2023
2 parents 28756f2 + 2263b97 commit c9c74e8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test/test_export.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,13 +548,19 @@ describe('Exporter', function () {

const ext = node.extensions['MOZ_hubs_components'];
assert.deepStrictEqual(ext['media-frame'], {
align: {
"x": 'center',
"y": 'center',
"z": 'center'
},
"bounds": {
"x": 1,
"y": 1,
"z": 4
},
"mediaType": "all-2d",
"snapToCenter": true
"snapToCenter": true,
"scaleToBounds": true
});
assert.strictEqual(utils.UUID_REGEX.test(ext['networked']['id']), true);
});
Expand Down

0 comments on commit c9c74e8

Please sign in to comment.