Skip to content

Commit d8df926

Browse files
committed
Add missing local test
1 parent 8959801 commit d8df926

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

test/fixtures/bad-locals/entry.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require('./index.ejs');

test/fixtures/bad-locals/index.ejs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Bad Locals</title>
6+
</head>
7+
<body>
8+
<h1><%- heading %></h1>
9+
</body>
10+
</html>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
3+
var configure = require('../configure.js');
4+
5+
module.exports = configure(__dirname, {
6+
error: /ejs-html-loader/,
7+
options: {}
8+
});

0 commit comments

Comments
 (0)