Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit bb3fa44

Browse files
committed
Adjust tests and build process for decaffinated code.
1 parent ba9dfd6 commit bb3fa44

File tree

6 files changed

+3
-22
lines changed

6 files changed

+3
-22
lines changed

scripts/build

Lines changed: 0 additions & 9 deletions
This file was deleted.

scripts/prepublish

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
#!/bin/sh
2-
./scripts/test &&
3-
./scripts/build
2+
./scripts/test

scripts/test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
#!/bin/sh
2-
./scripts/build
32
./node_modules/mocha/bin/mocha --reporter spec --compilers=coffee:coffeescript/register ./test/**/*-test.coffee

test/integration/cli-test.coffee

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ fs = require('fs')
55
cmdPrefix = ''
66

77
describe "Command line", () ->
8-
before (done) ->
9-
#CLI is linked with native JS in /lib so re-compile Coffee /src to /lib
10-
cmd = './scripts/build'
11-
cli = exec cmdPrefix + cmd, (error, out, err) ->
12-
if error
13-
done error
14-
done()
15-
168
describe "parsing from standard input with --raw", () ->
179
stdout = ""
1810
stderr = ""

test/integration/js-api-test.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ fs = require 'fs'
22

33
{assert} = require('chai')
44
{exec} = require('child_process')
5-
parser = require('../../src/parser')
5+
parser = require('../../lib/parser')
66

77
describe "Javascript API", () ->
88
describe "parsing from file", () ->

test/unit/parser-test.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
fs = require 'fs'
22
assert = require('chai').assert
3-
parser = require '../../src/parser'
3+
parser = require '../../lib/parser'
44

55
describe 'parser module', () ->
66
output = ""

0 commit comments

Comments
 (0)