akiomik / akiomik/chrome-storage-promise

Help me to run tests

Offen
#2 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
33
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I'm trying to run tests, but seems karma runs webpack without babel (without using webpack.conf.js):

```
> chrome-storage-promise@0.1.0 test /home/user/chrome-storage-promise
> karma start

Hash: 8344a6c0a9b3c44a5636
Version: webpack 1.9.13
Time: 11ms
webpack: Compiled successfully.
webpack: Compiling...
Hash: 8344a6c0a9b3c44a5636
Version: webpack 1.9.13
Time: 32ms

ERROR in ./test/spec.js
Module parse failed: /home/user/chrome-storage-promise/test/spec.js Line 3: Unexpected reserved word
You may need an appropriate loader to handle this file type.
| 'use strict';
|
| import {unrequireAll} from './spec-helper'
|
| describe('chrome-storage-promise', () => {
webpack: Failed to compile.
```

Node: 7.7.3

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.