Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
X3ZvaWQ committed Jan 21, 2024
1 parent 784027e commit add7bd8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wasmoon-lua5.1",
"version": "1.16.0",
"version": "1.16.1",
"description": "A real lua 5.1 VM with JS bindings made with webassembly",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/thread.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as lodash from 'lodash';
import { JsType } from './type-bind';
import { LUA_MULTRET, LUA_REGISTRYINDEX, LuaEventMasks, LuaReturn, LuaTimeoutError, LuaType, PointerSize } from './definitions';
import { mapTransform } from './utils/map';
import MultiReturn from './multireturn';
import Pointer from './utils/pointer';
import type LuaApi from './api';
import { mapTransform } from './utils/map';

// When the debug count hook is set, call it every X instructions.
const INSTRUCTION_HOOK_COUNT = 1000;
Expand Down
26 changes: 13 additions & 13 deletions test/engine.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ const { setTimeout } = require('node:timers/promises');
// const { EventEmitter } = require('events');
const jestMock = require('jest-mock');

class TestClass {
static hello() {
return 'world';
}

constructor(name) {
this.name = name;
}

getName() {
return this.name;
}
}
// class TestClass {
// static hello() {
// return 'world';
// }

// constructor(name) {
// this.name = name;
// }

// getName() {
// return this.name;
// }
// }

describe('Engine', () => {
let intervals = [];
Expand Down

0 comments on commit add7bd8

Please sign in to comment.