Sha256: b00c97b6f94f1cda897fd0cb1834362094cbe138a489d5573ab37991522c40f0

Contents?: true

Size: 1.01 KB

Versions: 160

Compression:

Stored size: 1.01 KB

Contents

Execute the tests with:

```bash
$ gulp test
```

Be sure your code follows best practices and coding styles, as other users do, with
ESLint, a tool to perform static analysis to your code. Sometimes, tools like this
save you some time detecting typos or silly mistakes in your ECMAScript code:

```bash
$ gulp lint
```

Or do both at the same time:

```bash
$ gulp lint test
```

## Making Your First ECMAScript 2015 Module

Usually, tests on this track will load your implementation importing it as a
ECMAScript 2015 module: `import Bob from './bob.js';`. To make it work, you just
needs to export your implementation from the file the tests are looking for
your module, `bob.js`:

```javascript
export default class Bob {
  hey(message) {
	//
	// Your solution to the exercise goes here
	//
  }
}
```

You can find more information about modules in the
[Babel documentation](https://babeljs.io/docs/learn-es2015/#modules).
To make it easier to get started, there is a *skeleton* ECMAScript file in the
directory for the first exercise.

Version data entries

160 entries across 160 versions & 1 rubygems

Version Path
trackler-2.0.8.19 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.18 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.17 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.16 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.15 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.14 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.13 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.12 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.11 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.10 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.9 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.8 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.7 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.6 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.5 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.4 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.3 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.2 tracks/ecmascript/docs/TESTS.md
trackler-2.0.8.1 tracks/ecmascript/docs/TESTS.md
trackler-2.0.7.0 tracks/ecmascript/docs/TESTS.md