-{assert} = require 'chai'
+{assert} = require('chai')
 
-getTransactionName = require '../../../src/transaction-name/get-transaction-name'
+getTransactionName = require('../../../src/transaction-name/get-transaction-name')
 
-describe 'getTransactionName', ->
-  it 'is a function', ->
-    assert.isFunction getTransactionName
 
-  it 'joins all parts of the origin object', ->
+describe('getTransactionName', ->
+  it('is a function', ->
+    assert.isFunction(getTransactionName)
+  )
+  it('joins all parts of the origin object', ->
     name = getTransactionName(
       origin:
         apiName: 'a'

        exampleName: ''
    )
    assert.equal(name, 'a > b')

  it 'does not mind if any part of the origin object already contains the separator', ->
    name = getTransactionName(
      origin:
        apiName: 'a'

        exampleName: 'e > f'
    )
    assert.equal(name, 'a > b > c > d > e > f')
  )
)
