We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a328093 commit 15f19d7Copy full SHA for 15f19d7
test/index.js
@@ -10,7 +10,7 @@ const readdir = promisify(fs.readdir),
10
11
describe("CSHTML Razor Tests", () => {
12
beforeEach(() => {
13
- hljsDefineCshtmlRazor(hljs);
+ hljs.registerLanguage('cshtml-razor', hljsDefineCshtmlRazor);
14
});
15
it("should generate correct markup", async () => {
16
var files = await readdir(path.join(__dirname, "markup", "cshtml-razor"));
0 commit comments