Skip to content

fix(behavior类型支持迭代):修复behavior中不包含data/properties时,会导致Component this.data/this.properties上访问未定义属性不抛错误 #160

fix(behavior类型支持迭代):修复behavior中不包含data/properties时,会导致Component this.data/this.properties上访问未定义属性不抛错误

fix(behavior类型支持迭代):修复behavior中不包含data/properties时,会导致Component this.data/this.properties上访问未定义属性不抛错误 #160

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: restore node modules
uses: actions/cache@v2
id: node-modules-cache
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
- name: Install Deps
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: npm install
- name: Run test
run: npm run test