1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00

chore(packages/stdlib): update import statement to use single quotes in mapRange function, lowercase in test desciptions

This commit is contained in:
2024-05-02 06:53:46 +07:00
parent 8a33f6945c
commit 7091352be2
4 changed files with 6 additions and 4 deletions

View File

@@ -2,4 +2,6 @@ export * from './text';
export * from './math';
export * from './patterns';
export * from './bits';
export * from './structs';
export * from './structs';
export * from './arrays';
export * from './types';

View File

@@ -1,4 +1,4 @@
import { clamp } from "../clamp";
import { clamp } from '../clamp';
/**
* Map a value from one range to another

View File

@@ -1,7 +1,7 @@
import { describe, it, expect, beforeEach, vi } from 'vitest';
import { PubSub } from './index';
describe('PubSub', () => {
describe('pubsub', () => {
let eventBus: PubSub<{
event1: (arg: string) => void;
event2: () => void

View File

@@ -1,7 +1,7 @@
import { describe, it, expect } from 'vitest';
import { Stack } from './index';
describe('Stack', () => {
describe('stack', () => {
describe('constructor', () => {
it('create an empty stack if no initial values are provided', () => {
const stack = new Stack<number>();