qrcode.spec.jsx 314 B

123456789101112
  1. import React from 'react';
  2. import {mountWithTheme} from 'sentry-test/enzyme';
  3. import Qrcode from 'app/components/qrcode';
  4. describe('Qrcode', function () {
  5. it('renders', function () {
  6. const wrapper = mountWithTheme(<Qrcode code={[[0, 1, 1, 0, 0, 0, 0, 0]]} />);
  7. expect(wrapper).toSnapshot();
  8. });
  9. });