mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
Convert shared_commands test to ES module
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
512f62c22b
commit
2776f3c37a
1 file changed
+5
-6
@@ -1,10 +1,9 @@
|
||||
"use strict";
|
||||
const assert = require("assert").strict;
|
||||
const fs = require("fs/promises");
|
||||
const path = require("path");
|
||||
import assert from "node:assert/strict";
|
||||
import fs from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
|
||||
const lib = require("@clusterio/lib");
|
||||
const { slowTest } = require("../integration");
|
||||
import * as lib from "@clusterio/lib";
|
||||
import { slowTest } from "../integration/index.js";
|
||||
|
||||
|
||||
describe("lib/shared_commands", function() {
|
||||
|
||||
Reference in new issue
Block a user