mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
test: adjust tests for source-list-map
This commit is contained in:
@@ -13,9 +13,9 @@ node.mapGeneratedCode(function (code) {
|
||||
})
|
||||
|
||||
slm.fromStringWithSourceMap('hello', {
|
||||
sources: null,
|
||||
sourcesContent: null,
|
||||
mappings: null
|
||||
sources: [node, new slm.CodeNode('hello')],
|
||||
sourcesContent: ['hi'],
|
||||
mappings: 'null'
|
||||
});
|
||||
|
||||
const snode = new slm.SourceNode('hi', 'i\'am', 'e-cloud');
|
||||
|
||||
Reference in New Issue
Block a user