diff --git a/.circleci/config.yml b/.circleci/config.yml index aa9c83fd9..a45bfedf2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: node: working_directory: ~/trpg docker: - - image: circleci/node + - image: circleci/node:10.18.1 steps: - checkout - run: @@ -32,7 +32,7 @@ jobs: Build Electron App: working_directory: ~/trpg docker: - - image: circleci/node + - image: circleci/node:10.18.1 steps: - checkout # 更新node依赖 @@ -68,7 +68,7 @@ jobs: Build RN Code: working_directory: ~/trpg docker: - - image: circleci/node + - image: circleci/node:10.18.1 steps: - checkout - restore_cache: diff --git a/test/component/app.spec.tsx b/test/component/app.spec.tsx index 5620c4942..91f0f1605 100644 --- a/test/component/app.spec.tsx +++ b/test/component/app.spec.tsx @@ -1,5 +1,6 @@ import ReactDOM from 'react-dom'; +// 冒烟测试 test('renders full app without crashing', async () => { const div = document.createElement('div'); div.id = 'app';