Skip to content
Prev Previous commit
Next Next commit
Removed unused import in test
  • Loading branch information
mszylkowski committed Dec 13, 2021
commit 33ec6242bb03ec566b61618b8f3ad588390772d9
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ export class ShareMenu {
*/
openSystemShare_() {
const {navigator} = this.win_;
devAssert(navigator.share, 'share not supported');
const shareData = {
url: Services.documentInfoForDoc(this.parentEl_).canonicalUrl,
text: this.win_.document.title,
Expand Down
5 changes: 1 addition & 4 deletions extensions/amp-story/1.0/test/test-amp-story-share-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ import {
VISIBLE_CLASS,
} from '../../../amp-story-share-menu/0.1/amp-story-share-menu';
import {ShareWidget} from '../amp-story-share';
import {
getAmpdoc,
registerServiceBuilder,
} from '../../../../src/service-helpers';
import {registerServiceBuilder} from '../../../../src/service-helpers';

describes.realWin('amp-story-share-menu', {amp: true}, (env) => {
let isSystemShareSupported;
Expand Down