<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>syntax error messages</title>
</head>
<body>
	<script>
		window.assert = window.parent.assert;
		window.done = window.parent.done;
	</script>
	<script src="../../../steal-sans-promises.js"
		data-base-url="."
		data-config="package.json!npm"
		data-main="@empty"></script>
	<script>
		var pluginSteal = steal.clone();
		steal.loader.pluginLoader = pluginSteal.loader;
		steal.loader.set("@@babel-code-frame", steal.loader.newModule({}));

		pluginSteal.startup()
		.then(function(){
			return steal.import("~/importer");
		})
		.then(null, function(err){
			var isEdge = /Anonymous function/.test(err.stack);
			if(window.assert) {
				if(isEdge) {
					window.assert.ok(true);
				} else {
					window.assert.ok(/breaking\.js/.test(err.stack), "Breaking file in the stack trace");
				}

				window.done();
			} else {
				console.error(err);
				console.log('Did error!');
			}
		});
	</script>
</body>
</html>

<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>syntax error messages</title>
</head>
<body>
	<script>
		window.assert = window.parent.assert;
		window.done = window.parent.done;
	</script>
	<script src="../../../steal-with-promises.js"
		data-base-url="."
		data-config="package.json!npm"
		data-main="@empty"></script>
	<script>
		var pluginSteal = steal.clone();
		steal.loader.pluginLoader = pluginSteal.loader;
		steal.loader.set("@@babel-code-frame", steal.loader.newModule({}));

		pluginSteal.startup()
		.then(function(){
			return steal.import("~/importer");
		})
		.then(null, function(err){
			var isEdge = /Anonymous function/.test(err.stack);
			if(window.assert) {
				if(isEdge) {
					window.assert.ok(true);
				} else {
					window.assert.ok(/breaking\.js/.test(err.stack), "Breaking file in the stack trace");
				}

				window.done();
			} else {
				console.error(err);
				console.log('Did error!');
			}
		});
	</script>
</body>
</html>

Upgrade test to use with-promises
Upgrade test to use with-promises
