Skip to content

Commit

Permalink
fix(blur): add blur module loading index (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
tywilson committed Aug 18, 2020
1 parent 926d230 commit 57a7593
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
27 changes: 27 additions & 0 deletions models/Blur/Blur.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

const Blur = require('./index');

const json = {};

describe('Blur', () => {
it('should work from raw JSON', () => {
expect(true).toBeTruthy();
});

it('should work from user generated', () => {
const blur = new Blur({});
expect(true).toBeTruthy();
});
});
14 changes: 14 additions & 0 deletions models/Blur/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/

module.exports = require('./Blur');

0 comments on commit 57a7593

Please sign in to comment.