我对咖啡脚本很新。我一直收到错误:
error: unmatched OUTDENT
product = new Model2({
以下是代码:
describe 'Test case 1', ->
describe 'Method 1', ->
it 'should compile this code into javascript', (done) ->
Model1 = mongoose.model 'Model1', schema.Model1
Model2 = mongoose.model 'Model2', schema.Model2
product = new Model2({
test: 'This is a test'
})
您能否帮我确定该代码中的错误位置?
提前致谢