This gist contains lists of modules available in
in AWS Lambda.
| import React from 'react'; | |
| import { shallow } from 'enzyme'; | |
| import MyComponent from '../src/my-component'; | |
| const wrapper = shallow(<MyComponent/>); | |
| describe('(Component) MyComponent', () => { | |
| it('renders without exploding', () => { | |
| expect(wrapper).to.have.length(1); | |
| }); |
This gist contains lists of modules available in
in AWS Lambda.
| require 'fiddle' | |
| module IAmAHorriblePerson | |
| def unset flag | |
| value = _wrap self | |
| flags = 8.times.map { |i| value[i] }.pack('C8').unpack('Q').first | |
| [flags & ~flag].pack('Q').unpack('C8').each_with_index { |n,i|value[i] = n } | |
| end | |
| def class= k |