Skip to content

Commit

Permalink
deleted unnecessay code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryuta Udo committed Mar 14, 2018
1 parent dc5dbde commit 4401d00
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
2 changes: 0 additions & 2 deletions src/__tests__/components/CreateCard.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import React from 'react';
import sinon from 'sinon';
import Enzyme, { mount } from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import CreateCard from '../../components/CreateCard';
import WebSpeechApi from '../../utils/WebSpeechApi';

Enzyme.configure({ adapter: new Adapter() });

Expand Down
18 changes: 0 additions & 18 deletions src/components/App.jsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,9 @@
import React, { Component } from 'react';
import propTypes from 'prop-types';
import WebSpeechApi from '../utils/WebSpeechApi';
// TEST IMPLEMENTATION
// Should be deleted later
import CreateCard from '../containers/CreateCard';

class App extends Component {
testThis() {
console.log(this);
}

render() {
// const test = new WebSpeechApi();
// speech a text
// test.speech('owarimasho', 'ja-JP');

// hear a text
// test.hear(
// 'ja-JP',
// (text) => { test.speech(text, 'ja-JP'); },
// errorMessage => console.log(errorMessage),
// );

return (
<div className="App">
Hello Gerpanese!!
Expand Down

0 comments on commit 4401d00

Please sign in to comment.