iopipe / serverless-plugin-iopipe

Automatically wrap your serverless framework functions with IOpipe
https://www.iopipe.com
Apache License 2.0
40 stars 8 forks source link

feat(serverless-offline): add support for serverless-offline plugin #71

Closed coreylight closed 6 years ago

coreylight commented 6 years ago

Use serverless-offline hooks for integration. Add new iopipe clean command as it is useful with offline. Update docs. Streamline testProjects runner.

fix #70

pselle commented 6 years ago

 FAIL  ./index.test.js
  ✕ Generated file requires plugin and includes plugin inline (17ms)

  ● Generated file requires plugin and includes plugin inline

    Cannot find module '@iopipe/event-info' from 'index.test.js'

      at Resolver.resolveModule (../../node_modules/jest-resolve/build/index.js:191:17)
      at eval (eval at <anonymous> (index.test.js:15:3), <anonymous>:1:1)
      at Object.<anonymous> (index.test.js:15:3)
          at Generator.next (<anonymous>)
      at step (index.test.js:3:358)```
coreylight commented 6 years ago

@pselle @kolanos CI cleared, ready for review. Thanks!