diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-04-27 15:58:59 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-04-27 15:58:59 +0100 |
| commit | 869d5b2a725db8e41dc447227468c173d5292c18 (patch) | |
| tree | 176267563f49df0d6804437c19dbbf62134569d2 /tests/options-reader.tests.js | |
| parent | e9d9ab3c03b6018ba8b63335e6aa2b1809a188a5 (diff) | |
Remove mammoth.styleMapping
Diffstat (limited to 'tests/options-reader.tests.js')
| -rw-r--r-- | tests/options-reader.tests.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/options-reader.tests.js b/tests/options-reader.tests.js index fcfa1bf..1beb314 100644 --- a/tests/options-reader.tests.js +++ b/tests/options-reader.tests.js @@ -1,6 +1,5 @@ var assert = require("assert"); -var styleMapping = require("../").styleMapping; var optionsReader = require("../lib/options-reader"); var standardOptions = optionsReader._standardOptions; var readOptions = optionsReader.readOptions; @@ -19,7 +18,7 @@ describe('readOptions', function() { var options = readOptions({ styleMap: "p.SectionTitle => h2" }); - assert.deepEqual(styleMapping("p.SectionTitle => h2"), options.styleMap[0]); + assert.deepEqual("p.SectionTitle => h2", options.styleMap[0]); assert.deepEqual(standardOptions.styleMap, options.styleMap.slice(1)); }); @@ -28,7 +27,7 @@ describe('readOptions', function() { styleMap: "p.SectionTitle => h2", includeDefaultStyleMap: false }); - assert.deepEqual([styleMapping("p.SectionTitle => h2")], options.styleMap); + assert.deepEqual(["p.SectionTitle => h2"], options.styleMap); }); }); |
