diff --git a/package.json b/package.json index 63f513c..4304e7a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "_v": "1.2.7", + "_v": "1.2.8", "main": "./built/index.js", "scripts": { "start": "node ./built", diff --git a/src/modules/reversi/back.ts b/src/modules/reversi/back.ts index c8c704e..35e8e40 100644 --- a/src/modules/reversi/back.ts +++ b/src/modules/reversi/back.ts @@ -6,6 +6,8 @@ * 切断されてしまうので、別々のプロセスで行うようにします */ +import 'module-alias/register'; + import * as request from 'request-promise-native'; import Reversi, { Color } from 'misskey-reversi'; import config from '@/config'; diff --git a/src/vocabulary.ts b/src/vocabulary.ts index d37c36e..b74194f 100644 --- a/src/vocabulary.ts +++ b/src/vocabulary.ts @@ -246,6 +246,10 @@ export const items = [ '虚無', 'UFO', 'NumLockキー', + '放射性廃棄物', + '火星', + 'ウラン', + '遠心分離機', ]; export const and = [ diff --git a/test/_mocks_/account.ts b/test/__mocks__/account.ts similarity index 100% rename from test/_mocks_/account.ts rename to test/__mocks__/account.ts diff --git a/test/_mocks_/misskey.ts b/test/__mocks__/misskey.ts similarity index 100% rename from test/_mocks_/misskey.ts rename to test/__mocks__/misskey.ts diff --git a/test/_mocks_/ws.ts b/test/__mocks__/ws.ts similarity index 100% rename from test/_mocks_/ws.ts rename to test/__mocks__/ws.ts diff --git a/test/_modules_/test.ts b/test/__modules__/test.ts similarity index 100% rename from test/_modules_/test.ts rename to test/__modules__/test.ts diff --git a/test/core.ts b/test/core.ts index e46313a..721c4f3 100644 --- a/test/core.ts +++ b/test/core.ts @@ -1,7 +1,7 @@ import 藍 from '@/ai'; -import { account } from '#/_mocks_/account'; -import TestModule from '#/_modules_/test'; -import { StreamingApi } from '#/_mocks_/ws'; +import { account } from '#/__mocks__/account'; +import TestModule from '#/__modules__/test'; +import { StreamingApi } from '#/__mocks__/ws'; process.env.NODE_ENV = 'test';