Skip to content

Commit

Permalink
Add acceptance test for @loopback/loopback export
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhoibm committed Apr 25, 2017
1 parent 8546154 commit aa45328
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/loopback/test/acceptance/module-exporting/feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Feature: Module exporting

- In order to use the LoopBack.next module
- As an app developer
- I want to import the module
- So that I can use LoopBack.next framework in my project

## Scenario: JavaScript project using Node.js's require syntax

- Given a Node.js project
- And LoopBack.next installed as a project dependency
- When I import LoopBack.next's Application construct via Node.js's require syntax
- Then I get an instantiable Application object

```js
const Application = require('@loopback/loopback').Application;
const app = new Application();
```

0 comments on commit aa45328

Please sign in to comment.