Replace 'use babel' -> '@babel' in comment directive

This commit is contained in:
Max Brunsfeld
2015-08-20 11:25:38 -07:00
parent 973c2a6a18
commit 070f4000f0
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
describe "Babel transpiler support", ->
describe 'when a .js file starts with /** use babel */;', ->
describe 'when a .js file starts with /** @babel */;', ->
it "transpiles it using babel", ->
transpiled = require('./fixtures/babel/babel-comment.js')
expect(transpiled(3)).toBe 4

View File

@@ -1,3 +1,3 @@
/** use babel */
/** @babel */
module.exports = v => v + 1