Update to using CraftingGuideCommon 3.1
This commit is contained in:
+13
-12
@@ -1,15 +1,16 @@
|
||||
###
|
||||
Crafting Guide - data.test.coffee
|
||||
#
|
||||
# Crafting Guide Data - data.test.coffee
|
||||
#
|
||||
# Copyright (c) 2015-2017 by Redwood Labs
|
||||
# All rights reserved.
|
||||
#
|
||||
|
||||
Copyright (c) 2015 by Redwood Labs
|
||||
All rights reserved.
|
||||
###
|
||||
|
||||
{Mod} = require 'crafting-guide'
|
||||
{ModParser} = require 'crafting-guide'
|
||||
{ModVersion} = require 'crafting-guide'
|
||||
{ModVersionParser} = require 'crafting-guide'
|
||||
fs = require 'fs'
|
||||
CraftingGuideCommon = require "crafting-guide-common"
|
||||
Mod = CraftingGuideCommon.deprecated.game.Mod
|
||||
ModParser = CraftingGuideCommon.deprecated.parsing.ModParser
|
||||
ModVersion = CraftingGuideCommon.deprecated.game.ModVersion
|
||||
ModVersionParser = CraftingGuideCommon.deprecated.parsing.ModVersionParser
|
||||
fs = require 'fs'
|
||||
|
||||
########################################################################################################################
|
||||
|
||||
@@ -50,4 +51,4 @@ describe 'data files for', ->
|
||||
it 'loads mod-version.cg without errors', ->
|
||||
modVersionParser.errors.should.eql []
|
||||
_.keys(modVersion._items).length.should.be.greaterThan 0
|
||||
_.keys(modVersion._recipes).length.should.be.greaterThan 0
|
||||
_.keys(modVersion._recipes).length.should.be.greaterThan 0
|
||||
|
||||
Reference in New Issue
Block a user