Commit 37106be9 authored by Stefanie Hasler's avatar Stefanie Hasler

tcr

parent 1a5fc58b
import {expect} from 'chai'
class MarsRover {
public pos() {
return '0,0,N'
}
}
describe("MarsRover", () => {
it('should output starting position', () => {
expect(new MarsRover().pos()).to.equal('0,0,N')
})
})
\ No newline at end of file
--reporter mocha-better-spec-reporter
--recursive
--require src/test/setupEnvironment.ts
--compilers ts:ts-node/register,js:ts-node/register
\ No newline at end of file
import chai = require('chai')
import chaiShallowDeepEqual = require('chai-shallow-deep-equal')
chai.should()
chai.use(chaiShallowDeepEqual);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment