Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/type_test.ts: Fix import path #91

Merged
merged 1 commit into from Dec 21, 2019
Merged

test/type_test.ts: Fix import path #91

merged 1 commit into from Dec 21, 2019

Conversation

hanachin
Copy link
Contributor

No description provided.

@@ -1,6 +1,6 @@
import ArSyncModel from './generated_typed_files/ArSyncModel'
import { useArSyncModel, useArSyncFetch } from './generated_typed_files/hooks'
import ActionCableAdapter from '../src/core/ActionCableAdapter'
import ActionCableAdapter from '../src/core/ActioncableAdapter'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あっ...
あ、でもこれ、ファイル名の方を変えたい importの名前と揃えたい
import XxX from '../a/b/XxX'import XXX from '../a/b/XXX'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あー、確かに名前揃えたい
なんかすでに導入されてるプロジェクトだとファイル名のリネームすると若干だるそうかなと思ってテストの中だけ直す、に倒してしまった。
importしてる名前直すよりファイル名直す方が楽そうなので、ファイル名リネームしてみようかな

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

よく見たらREADMEのほうではパスActionCableAdapterだったのでそっちにあわせます

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとう、脳内ではずっとActionCableAdapterのつもりだったから...
あと actioncableのdocumentでもActionCableになってるからAdapterも名前合わせた方がいいはず

@tompng tompng merged commit 0e6f120 into tompng:master Dec 21, 2019
@hanachin hanachin deleted the fix_import_path branch April 6, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants